summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-10-12 07:52:07 +0000
committerRobert Pösel <robyer@seznam.cz>2013-10-12 07:52:07 +0000
commit32d2d34f0e3aacb60851eedac77e4913affbe6d0 (patch)
tree0b3d7d168024568cbf37ce70e17f9c915fe74227 /protocols/FacebookRM
parent123d7c85550e4cbfe89b6332d2b32f5580601d87 (diff)
Facebook: Status and LastMessageId are now resident
git-svn-id: http://svn.miranda-ng.org/main/trunk@6456 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM')
-rw-r--r--protocols/FacebookRM/src/proto.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp
index 0ffac08490..989f75344d 100644
--- a/protocols/FacebookRM/src/proto.cpp
+++ b/protocols/FacebookRM/src/proto.cpp
@@ -53,6 +53,9 @@ FacebookProto::FacebookProto(const char* proto_name,const TCHAR* username) :
HookProtoEvent(ME_GC_EVENT, &FacebookProto::OnGCEvent);
HookProtoEvent(ME_GC_BUILDMENU, &FacebookProto::OnGCMenuHook);
+ db_set_resident(m_szModuleName, "Status");
+ db_set_resident(m_szModuleName, FACEBOOK_KEY_MESSAGE_ID);
+
InitHotkeys();
InitPopups();
InitSounds();