Send @mentions

This commit is contained in:
Chris Svenningsen 2020-11-02 17:19:52 -08:00 committed by Evan Hahn
parent 63c4cf9430
commit 53c89aa40f
28 changed files with 1728 additions and 107 deletions

View file

@ -1938,7 +1938,9 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
this.get('deletedForEveryoneTimestamp'),
this.get('sent_at'),
this.get('expireTimer'),
profileKey
profileKey,
undefined, // flags
this.get('bodyRanges')
);
return this.sendSyncMessageOnly(dataMessage);
}
@ -2108,9 +2110,12 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
previewWithData,
stickerWithData,
null,
this.get('deletedForEveryoneTimestamp'),
this.get('sent_at'),
this.get('expireTimer'),
profileKey
profileKey,
undefined, // flags
this.get('bodyRanges')
);
return this.sendSyncMessageOnly(dataMessage);
}