diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2014-03-29 20:29:03 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2014-03-29 20:29:03 +0100 |
commit | e8290d52b1e71dd8ab2a1d50e9a5d96a7f9a204d (patch) | |
tree | f8187bfd1550fbacf6792633c35a621260934a4f /src/eu/siacs/conversations/ui | |
parent | 38efb84690f5ed46ad34b0a5cb27e63da73394bd (diff) |
finally fixed #notificationgate
Diffstat (limited to 'src/eu/siacs/conversations/ui')
-rw-r--r-- | src/eu/siacs/conversations/ui/ConversationActivity.java | 1 | ||||
-rw-r--r-- | src/eu/siacs/conversations/ui/ConversationFragment.java | 7 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/eu/siacs/conversations/ui/ConversationActivity.java b/src/eu/siacs/conversations/ui/ConversationActivity.java index 61a23e77..ef1d051b 100644 --- a/src/eu/siacs/conversations/ui/ConversationActivity.java +++ b/src/eu/siacs/conversations/ui/ConversationActivity.java @@ -417,7 +417,6 @@ public class ConversationActivity extends XmppActivity { @Override void onBackendConnected() { - this.registerListener(); if (conversationList.size()==0) { updateConversationList(); diff --git a/src/eu/siacs/conversations/ui/ConversationFragment.java b/src/eu/siacs/conversations/ui/ConversationFragment.java index 55a0d1a5..7bbef42f 100644 --- a/src/eu/siacs/conversations/ui/ConversationFragment.java +++ b/src/eu/siacs/conversations/ui/ConversationFragment.java @@ -333,15 +333,8 @@ public class ConversationFragment extends Fragment { this.onBackendConnected(); } } - - @Override - public void onResume() { - super.onResume(); - activity.registerListener(); - } public void onBackendConnected() { - activity.registerListener(); this.conversation = activity.getSelectedConversation(); if (this.conversation == null) { return; |