Modern profile sharing in 1:1 and GroupV1 groups

This commit is contained in:
Scott Nonnenberg 2020-10-16 11:31:57 -07:00
parent 60f2422e2a
commit 04b7a29229
22 changed files with 371 additions and 115 deletions

View file

@ -117,14 +117,7 @@ export class CallingClass {
return;
}
const conversationProps = conversation.cachedProps;
if (!conversationProps) {
window.log.error(
'CallingClass.startCallingLobby(): No conversation props?'
);
return;
}
const conversationProps = conversation.format();
window.log.info('CallingClass.startCallingLobby(): Starting lobby');
this.uxActions.showCallLobby({
@ -829,10 +822,7 @@ export class CallingClass {
conversation: ConversationModel,
call: Call
): CallDetailsType {
const conversationProps = conversation.cachedProps;
if (!conversationProps) {
throw new Error('getAcceptedCallDetails: No conversation props?');
}
const conversationProps = conversation.format();
return {
...conversationProps,