|
@@ -444,10 +444,12 @@ const beforeRead = (file) => {
|
|
|
// ==== 1. 发起语音通话 ====
|
|
|
const startAudioOnline = async () => {
|
|
|
inCall.value = true
|
|
|
+ rtcStore.imSate.callAvatar = wsStore.toUserInfo.avatar
|
|
|
wsStore.sendMessage({
|
|
|
messageType: MESSAGE_TYPE_USER, // 单聊消息
|
|
|
contentType: Constant.DIAL_AUDIO_ONLINE,
|
|
|
type: Constant.MESSAGE_TRANS_TYPE,
|
|
|
+ avatar: walletStore.avatar
|
|
|
});
|
|
|
};
|
|
|
// ==== 2. 接听来电 ====
|