summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-03-16 14:57:07 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-03-16 14:57:07 +0300
commitecee3cf571be168342936201457d00d094239a80 (patch)
tree06b3d401c7a1a76622c05b1b08d5fb33ae0aa324 /protocols/JabberG/src/jabber_proto.cpp
parent93e78f0795929ac87f4b85ffc9af077b257dbcda (diff)
Jabber:
- useless parameter in CJabberProto::OnAddContactForever removed; - when we receive subscription = remove we just change it to SUB_NONE instead of removing contact from LIST_ROSTER; - code cleaning
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.cpp')
-rwxr-xr-xprotocols/JabberG/src/jabber_proto.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp
index bd9b540917..eedaec74af 100755
--- a/protocols/JabberG/src/jabber_proto.cpp
+++ b/protocols/JabberG/src/jabber_proto.cpp
@@ -1167,8 +1167,6 @@ void __cdecl CJabberProto::GetAwayMsgThread(void *param)
JABBER_LIST_ITEM *item = ListGetItemPtr(LIST_ROSTER, jid);
if (item != nullptr) {
if (item->arResources.getCount() > 0) {
- debugLogA("arResources.getCount() > 0");
-
CMStringW str;
for (auto &r : item->arResources)
if (r->m_tszStatusMessage)
@@ -1192,8 +1190,6 @@ void __cdecl CJabberProto::GetAwayMsgThread(void *param)
HANDLE __cdecl CJabberProto::GetAwayMsg(MCONTACT hContact)
{
- debugLogA("GetAwayMsg called, hContact=%08X", hContact);
-
ForkThread(&CJabberProto::GetAwayMsgThread, (void*)hContact);
return (HANDLE)1;
}
@@ -1203,8 +1199,6 @@ HANDLE __cdecl CJabberProto::GetAwayMsg(MCONTACT hContact)
int __cdecl CJabberProto::SetAwayMsg(int status, const wchar_t *msg)
{
- debugLogW(L"SetAwayMsg called, wParam=%d lParam=%s", status, msg);
-
wchar_t **szMsg;
mir_cslockfull lck(m_csModeMsgMutex);