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 7eeefa3ae6
commit a316739c9e

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();
}
}
}
}