diff options
Diffstat (limited to 'protocols/Facebook/src/proto.h')
-rw-r--r-- | protocols/Facebook/src/proto.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/Facebook/src/proto.h b/protocols/Facebook/src/proto.h index 7bef192e73..051ba352c7 100644 --- a/protocols/Facebook/src/proto.h +++ b/protocols/Facebook/src/proto.h @@ -360,6 +360,7 @@ struct COwnMessage { __int64 msgId; int reqId; + CMStringW wszText; COwnMessage(__int64 _id, int _reqId) : msgId(_id), @@ -454,11 +455,13 @@ class FacebookProto : public PROTO<FacebookProto> OBJLIST<COwnMessage> arOwnMessages; OBJLIST<FacebookUser> m_users; - FacebookUser *FindUser(__int64 id) + FacebookUser* FindUser(__int64 id) { return m_users.find((FacebookUser *)&id); } + FacebookUser* UserFromJson(const JSONNode &root, CMStringW &wszId); + void FetchAttach(const CMStringA &mid, __int64 fbid, CMStringA &szBody); void OnLoggedIn(); |