make sure to set open conversations after connection with background service

Daniel Gultsch created

Change summary

src/main/java/eu/siacs/conversations/ui/ConversationActivity.java | 2 +
1 file changed, 2 insertions(+)

Detailed changes

src/main/java/eu/siacs/conversations/ui/ConversationActivity.java 🔗

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