aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/conversation_view_controller.vala
diff options
context:
space:
mode:
authorsojuz151 <36378873+sojuz151@users.noreply.github.com>2021-08-24 19:35:00 +0200
committerGitHub <noreply@github.com>2021-08-24 19:35:00 +0200
commit93e2e0d1cf7d6e5a7ccc7f6960d06d93e7e0eb87 (patch)
tree0d9a2cb0eb59a5ab3aa54aa7a730dddb288031bc /main/src/ui/conversation_view_controller.vala
parent863d66b16eb60c4b28b52af52d944bfd1dc1b21a (diff)
downloaddino-93e2e0d1cf7d6e5a7ccc7f6960d06d93e7e0eb87.tar.gz
dino-93e2e0d1cf7d6e5a7ccc7f6960d06d93e7e0eb87.zip
Fixed name change (#1076)
Diffstat (limited to 'main/src/ui/conversation_view_controller.vala')
-rw-r--r--main/src/ui/conversation_view_controller.vala5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/src/ui/conversation_view_controller.vala b/main/src/ui/conversation_view_controller.vala
index a9a94738..87657b37 100644
--- a/main/src/ui/conversation_view_controller.vala
+++ b/main/src/ui/conversation_view_controller.vala
@@ -80,6 +80,11 @@ public class ConversationViewController : Object {
update_conversation_topic(subject);
}
});
+ stream_interactor.get_module(RosterManager.IDENTITY).updated_roster_item.connect((account, jid, roster_item) => {
+ if (conversation.account.equals(account) && conversation.counterpart.equals(jid)) {
+ update_conversation_display_name();
+ }
+ });
stream_interactor.get_module(FileManager.IDENTITY).upload_available.connect(update_file_upload_status);