set correct name on conversation

pull/479/head
Ryan Tharp 6 years ago
parent eea6bac7e6
commit c97f26465c

@ -415,7 +415,7 @@ class LokiPublicChannelAPI {
// this.conversation.setGroupNameAndAvatar(note.value.name, // this.conversation.setGroupNameAndAvatar(note.value.name,
// note.value.avatar); // note.value.avatar);
if (note.value && note.value.name) { if (note.value && note.value.name) {
this.conversation.setProfileName(note.value.name); this.conversation.setGroupName(note.value.name);
} }
if (note.value && note.value.avatar) { if (note.value && note.value.avatar) {
this.conversation.setProfileAvatar(note.value.avatar); this.conversation.setProfileAvatar(note.value.avatar);

Loading…
Cancel
Save