From 6ec5b2f055995fad63a8d5dd27a261d476485eb8 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sat, 8 Mar 2014 21:22:54 +0100 Subject: [PATCH] possible bug fix for notificationgate --- src/eu/siacs/conversations/ui/ConversationActivity.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/eu/siacs/conversations/ui/ConversationActivity.java b/src/eu/siacs/conversations/ui/ConversationActivity.java index b71e1578a..02d784273 100644 --- a/src/eu/siacs/conversations/ui/ConversationActivity.java +++ b/src/eu/siacs/conversations/ui/ConversationActivity.java @@ -407,6 +407,9 @@ public class ConversationActivity extends XmppActivity { public void onStart() { super.onStart(); + if (xmppConnectionServiceBound) { + xmppConnectionService.setOnConversationListChangedListener(this.onConvChanged); + } if (conversationList.size()>=1) { onConvChanged.onConversationListChanged(); }