Send call messages with conversationJobQueue

Co-authored-by: trevor-signal <trevor@signal.org>
This commit is contained in:
Scott Nonnenberg 2024-04-16 14:55:09 -07:00 committed by GitHub
parent 72169820eb
commit 783c71999a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 457 additions and 392 deletions

View file

@ -3008,15 +3008,9 @@ export class ConversationModel extends window.Backbone
'addKeyChange'
);
const isUntrusted = await this.isUntrusted();
this.trigger('newmessage', model);
const serviceId = this.getServiceId();
// Group calls are always with folks that have a serviceId
if (isUntrusted && isAciString(serviceId)) {
window.reduxActions.calling.keyChanged({ aci: serviceId });
}
if (isDirectConversation(this.attributes)) {
window.reduxActions?.safetyNumber.clearSafetyNumber(this.id);