mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Make sent quote clickable - process after adding to conversation
This commit is contained in:
@@ -112,8 +112,9 @@
|
||||
},
|
||||
|
||||
addSingleMessage(message) {
|
||||
this.messageCollection.add(message, { merge: true });
|
||||
const model = this.messageCollection.add(message, { merge: true });
|
||||
this.processQuotes(this.messageCollection);
|
||||
return model;
|
||||
},
|
||||
|
||||
onMessageError() {
|
||||
@@ -685,7 +686,8 @@
|
||||
expireTimer: this.get('expireTimer'),
|
||||
recipients: this.getRecipients(),
|
||||
});
|
||||
const message = this.messageCollection.add(messageWithSchema);
|
||||
const message = this.addSingleMessage(messageWithSchema);
|
||||
|
||||
if (this.isPrivate()) {
|
||||
message.set({ destination: this.id });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user