make sure to set open conversations after connection with background service

This commit is contained in:
Daniel Gultsch 2017-01-22 13:08:21 +01:00
parent b72d7ec8d0
commit d53c813408
1 changed files with 2 additions and 0 deletions

View File

@ -1271,6 +1271,8 @@ public class ConversationActivity extends XmppActivity
} }
if (isConversationsOverviewVisable() && isConversationsOverviewHideable()) { if (isConversationsOverviewVisable() && isConversationsOverviewHideable()) {
xmppConnectionService.getNotificationService().setOpenConversation(null); xmppConnectionService.getNotificationService().setOpenConversation(null);
} else {
xmppConnectionService.getNotificationService().setOpenConversation(getSelectedConversation());
} }
} }