aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/unified_window_controller.vala
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2019-03-01 18:20:08 +0100
committerfiaxh <git@lightrise.org>2019-03-14 17:39:31 +0100
commitdf6328dfcb9031092ae2f1ba1ef18da600605338 (patch)
tree83485b75026aab841fad854cbd5263a8f5c2e24e /main/src/ui/unified_window_controller.vala
parent3880e41497f846b70e2903bfaaaee20dbe8b1a1b (diff)
downloaddino-df6328dfcb9031092ae2f1ba1ef18da600605338.tar.gz
dino-df6328dfcb9031092ae2f1ba1ef18da600605338.zip
Fix topic displaying issues
fixes #393
Diffstat (limited to 'main/src/ui/unified_window_controller.vala')
-rw-r--r--main/src/ui/unified_window_controller.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/unified_window_controller.vala b/main/src/ui/unified_window_controller.vala
index dce5b39f..bef6b7dc 100644
--- a/main/src/ui/unified_window_controller.vala
+++ b/main/src/ui/unified_window_controller.vala
@@ -147,7 +147,7 @@ public class UnifiedWindowController : Object {
}
private void update_conversation_topic(string? subtitle = null) {
- if (conversation_topic != null) {
+ if (subtitle != null) {
conversation_topic = subtitle;
} else if (conversation.type_ == Conversation.Type.GROUPCHAT) {
string subject = stream_interactor.get_module(MucManager.IDENTITY).get_groupchat_subject(conversation.counterpart, conversation.account);