Fix adding group call history with no ring
This commit is contained in:
parent
da05b32f4f
commit
d3a18a197b
3 changed files with 13 additions and 12 deletions
|
@ -372,13 +372,14 @@ const doGroupCallPeek = (
|
|||
`doGroupCallPeek/groupv2(${conversation.groupId}): Found ${peekInfo.deviceCount} devices`
|
||||
);
|
||||
|
||||
if (existingCall?.callMode === CallMode.Group) {
|
||||
await calling.updateCallHistoryForGroupCall(
|
||||
conversationId,
|
||||
existingCall.joinState,
|
||||
peekInfo
|
||||
);
|
||||
}
|
||||
const joinState =
|
||||
existingCall?.callMode === CallMode.Group ? existingCall.joinState : null;
|
||||
|
||||
await calling.updateCallHistoryForGroupCall(
|
||||
conversationId,
|
||||
joinState,
|
||||
peekInfo
|
||||
);
|
||||
|
||||
const formattedPeekInfo = calling.formatGroupCallPeekInfoForRedux(peekInfo);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue