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:
lilia
2015-02-24 16:02:33 -08:00
parent 2277b41639
commit c08c29bd4a
5 changed files with 37 additions and 10 deletions

View File

@@ -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);