@ -580,7 +580,6 @@
nickname: displayName,
onOk: async (newName) => {
await storage.setProfileName(newName);
appView.inboxView.trigger('updateProfile');
// Update the conversation if we have it
const conversation = ConversationController.get(ourNumber);
@ -1621,12 +1621,12 @@
await this.updateProfile();
},
async setProfile(profile) {
if (_.isEqual(this.get('profile'), profile)) return;
if (!_.isEqual(this.get('profile'), profile)) {
this.set({ profile });
await window.Signal.Data.updateConversation(this.id, this.attributes, {
Conversation: Whisper.Conversation,
});
}