Conversation: Wait for database fetch to add incoming messages

This commit is contained in:
Scott Nonnenberg 2020-01-08 16:19:22 -08:00 committed by Ken Powers
parent 0f9bc57ccb
commit 3e5071e340
4 changed files with 21 additions and 4 deletions

View file

@ -1827,7 +1827,7 @@
// We do this here because we don't want convo.messageCollection to have
// anything in it unless it has an associated view. This is so, when we
// fetch on open, it's clean.
this.model.addSingleMessage(message);
this.model.addIncomingMessage(message);
},
async showMembers(e, providedMembers, options = {}) {