removed isCall property from message. Fixed text

pull/1947/head
Warrick Corfe-Tan 4 years ago
parent 0b8f3255b0
commit 1522e5102d

@ -450,7 +450,7 @@
"endCall": "End call", "endCall": "End call",
"micAndCameraPermissionNeededTitle": "Camera and Microphone access required", "micAndCameraPermissionNeededTitle": "Camera and Microphone access required",
"micAndCameraPermissionNeeded": "You can enable microphone and camera access under: Settings (Gear icon) => Privacy", "micAndCameraPermissionNeeded": "You can enable microphone and camera access under: Settings (Gear icon) => Privacy",
"unableToCall": "Cancel your exiting call session.", "unableToCall": "cancel your ongoing call first",
"unableToCallTitle": "Cannot start new call", "unableToCallTitle": "Cannot start new call",
"callMissed": "Missed call from $name$", "callMissed": "Missed call from $name$",
"callMissedTitle": "Call missed" "callMissedTitle": "Call missed"

@ -177,7 +177,6 @@ export interface MessageAttributesOptionals {
direction?: any; direction?: any;
messageHash?: string; messageHash?: string;
isDeleted?: boolean; isDeleted?: boolean;
isCall?: boolean;
} }
/** /**

@ -569,7 +569,6 @@ export async function handleDataExtractionNotification(
}, },
unread: 1, // 1 means unread unread: 1, // 1 means unread
expireTimer: 0, expireTimer: 0,
isCall: true,
}); });
convo.updateLastMessage(); convo.updateLastMessage();
} }

@ -414,7 +414,6 @@ async function handleMissedCall(sender: string, incomingOfferTimestamp: number)
expireTimer: 0, expireTimer: 0,
body: 'Missed call', body: 'Missed call',
unread: 1, unread: 1,
isCall: false,
}); });
incomingCallConversation?.updateLastMessage(); incomingCallConversation?.updateLastMessage();
return; return;

Loading…
Cancel
Save