Fix adding group call history with no ring
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user