Render group members in the message detail view
This requires that we fetch contact info when opening a conversation so that's available for rendering contact names and avatars.
This commit is contained in:
parent
2277b41639
commit
c08c29bd4a
5 changed files with 37 additions and 10 deletions
|
@ -43,7 +43,9 @@
|
|||
|
||||
window.openConversation = function openConversation (modelId) {
|
||||
var conversation = conversations.add({id: modelId});
|
||||
conversation.fetch();
|
||||
conversation.fetch().then(function() {
|
||||
conversation.fetchContacts();
|
||||
});
|
||||
conversation.fetchMessages();
|
||||
|
||||
var windowId = windowMap.windowIdFrom(modelId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue