diff options
author | George Hazan <ghazan@miranda.im> | 2019-02-26 00:26:13 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-02-26 00:26:13 +0300 |
commit | 1bf0fece31876c453bea93479e6d0d40bd8a564d (patch) | |
tree | ed0361cc6c51ec8c0c74829df6d24d2a22e70f45 /protocols/JabberG/src/jabber_proto.cpp | |
parent | ea88e2c53d3ac0840955eb703213ca1430bb4361 (diff) |
fixes #1865 (Joining Password Protected Jabber Conference is not working since last updates) + code cleaning
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.cpp')
-rwxr-xr-x | protocols/JabberG/src/jabber_proto.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp index 6547c4accc..9533b031dc 100755 --- a/protocols/JabberG/src/jabber_proto.cpp +++ b/protocols/JabberG/src/jabber_proto.cpp @@ -1064,13 +1064,13 @@ int CJabberProto::SetApparentMode(MCONTACT hContact, int mode) break;
case ID_STATUS_OFFLINE:
if (m_iStatus != ID_STATUS_INVISIBLE || oldMode == ID_STATUS_ONLINE)
- SendPresenceTo(ID_STATUS_INVISIBLE, jid, nullptr);
+ SendPresenceTo(ID_STATUS_INVISIBLE, jid);
break;
case 0:
if (oldMode == ID_STATUS_ONLINE && m_iStatus == ID_STATUS_INVISIBLE)
- SendPresenceTo(ID_STATUS_INVISIBLE, jid, nullptr);
+ SendPresenceTo(ID_STATUS_INVISIBLE, jid);
else if (oldMode == ID_STATUS_OFFLINE && m_iStatus != ID_STATUS_INVISIBLE)
- SendPresenceTo(m_iStatus, jid, nullptr);
+ SendPresenceTo(m_iStatus, jid);
break;
}
|