Make sent quote clickable - process after adding to conversation
This commit is contained in:
parent
73edabfb17
commit
26dd01c4fd
1 changed files with 4 additions and 2 deletions
|
@ -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 });
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue