diff options
author | Robert Pösel <robyer@seznam.cz> | 2016-09-04 14:05:05 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2016-09-04 14:05:05 +0000 |
commit | 3f9852b281fa9af7ebd286c4d7e5738c6f51b19e (patch) | |
tree | ce01ab7a1facc35732999bc328fdf55e60609106 /protocols/FacebookRM | |
parent | 4529adfa0ed7e69ffc3729144cd07c9a482f150f (diff) |
Facebook: Don't try to join chatroom during connecting if we don't have loaded required data yet
git-svn-id: http://svn.miranda-ng.org/main/trunk@17253 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM')
-rw-r--r-- | protocols/FacebookRM/src/chat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/chat.cpp b/protocols/FacebookRM/src/chat.cpp index 78df418b38..a41fed1c54 100644 --- a/protocols/FacebookRM/src/chat.cpp +++ b/protocols/FacebookRM/src/chat.cpp @@ -282,7 +282,7 @@ void FacebookProto::AddChat(const char *id, const wchar_t *tname) INT_PTR FacebookProto::OnJoinChat(WPARAM hContact, LPARAM) { - if (!m_enableChat || IsSpecialChatRoom(hContact)) + if (isOffline() || facy.dtsg_.empty() || !m_enableChat || IsSpecialChatRoom(hContact)) return 0; ptrW idT(getWStringA(hContact, "ChatRoomID")); |