Only notify for group calls once
This commit is contained in:
@@ -372,7 +372,13 @@ const doGroupCallPeek = (
|
||||
`doGroupCallPeek/groupv2(${conversation.groupId}): Found ${peekInfo.deviceCount} devices`
|
||||
);
|
||||
|
||||
await calling.updateCallHistoryForGroupCall(conversationId, peekInfo);
|
||||
if (existingCall?.callMode === CallMode.Group) {
|
||||
await calling.updateCallHistoryForGroupCall(
|
||||
conversationId,
|
||||
existingCall.joinState,
|
||||
peekInfo
|
||||
);
|
||||
}
|
||||
|
||||
const formattedPeekInfo = calling.formatGroupCallPeekInfoForRedux(peekInfo);
|
||||
|
||||
|
Reference in New Issue
Block a user