diff options
author | sojuz151 <36378873+sojuz151@users.noreply.github.com> | 2021-08-24 19:35:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-24 19:35:00 +0200 |
commit | 93e2e0d1cf7d6e5a7ccc7f6960d06d93e7e0eb87 (patch) | |
tree | 0d9a2cb0eb59a5ab3aa54aa7a730dddb288031bc /main/src/ui/conversation_view_controller.vala | |
parent | 863d66b16eb60c4b28b52af52d944bfd1dc1b21a (diff) | |
download | dino-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.vala | 5 |
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); |