diff options
author | George Hazan <ghazan@miranda.im> | 2019-07-15 17:16:20 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-07-15 17:16:20 +0300 |
commit | 1b9b12484af65dbae34eb59baea6c8dc9c685c28 (patch) | |
tree | 3db3d83414edee851620ffa479f31e25964529b6 /protocols/JabberG/src/jabber_proto.h | |
parent | 6d375d3e1882590c0a49d8e4970b333e1804618c (diff) |
Jabber:
- global vcard hash added to the presence;
- "AvatarSaved" setting isn't used anymore, because it's crazy;
- when vcard reader writes our own avatar, an update is not send back to the server
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.h')
-rwxr-xr-x | protocols/JabberG/src/jabber_proto.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_proto.h b/protocols/JabberG/src/jabber_proto.h index dd29dda47b..bcd444066c 100755 --- a/protocols/JabberG/src/jabber_proto.h +++ b/protocols/JabberG/src/jabber_proto.h @@ -795,7 +795,7 @@ struct CJabberProto : public PROTO<CJabberProto>, public IJabberInterface MCONTACT ChatRoomHContactFromJID(const char *jid);
void SendVisibleInvisiblePresence(bool invisible);
void SendPresenceTo(int status, const char* to, const TiXmlElement *extra = nullptr, const char *msg = nullptr);
- void SendPresence(int m_iStatus, bool bSendToAll);
+ void SendPresence(int iStatus, bool bSendToAll);
void RebuildInfoFrame(void);
void InitInfoFrame(void);
@@ -818,7 +818,7 @@ struct CJabberProto : public PROTO<CJabberProto>, public IJabberInterface wchar_t m_szPhotoFileName[MAX_PATH];
void OnUserInfoInit_VCard(WPARAM, LPARAM);
- int SendGetVcard(const char *jid);
+ int SendGetVcard(const char *jid = nullptr);
void AppendVcardFromDB(TiXmlElement *n, char* tag, char* key);
void SetServerVcard(BOOL bPhotoChanged, wchar_t* szPhotoFileName);
void SaveVcardToDB(HWND hwndPage, int iPage);
|