Few more fixes

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2019-09-27 11:55:43 +02:00
parent db325dde19
commit 1116c943a9

View File

@ -673,9 +673,14 @@ public class ChatController extends BaseController implements MessagesListAdapte
if (inConversation) {
if (wasDetached && conversationUser.hasSpreedFeatureCapability("no-ping")) {
currentConversation.setSessionId("0");
wasDetached = false;
joinRoomWithPassword();
if (currentConversation != null) {
currentConversation.setSessionId("0");
wasDetached = false;
joinRoomWithPassword();
} else {
wasDetached = false;
getRoomInfo();
}
}
}
}