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 (inConversation) {
if (wasDetached && conversationUser.hasSpreedFeatureCapability("no-ping")) { if (wasDetached && conversationUser.hasSpreedFeatureCapability("no-ping")) {
if (currentConversation != null) {
currentConversation.setSessionId("0"); currentConversation.setSessionId("0");
wasDetached = false; wasDetached = false;
joinRoomWithPassword(); joinRoomWithPassword();
} else {
wasDetached = false;
getRoomInfo();
}
} }
} }
} }