summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/events.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-10-02 20:08:00 +0000
committerRobert Pösel <robyer@seznam.cz>2013-10-02 20:08:00 +0000
commitbed8dcfa17b2f9de35a145826c2a4201e6daff13 (patch)
tree2111da805d7737ae05779199d7ee200d778b3987 /protocols/FacebookRM/src/events.cpp
parent8fecb411c56387ef6db40abe96b8c935fddc6083 (diff)
Facebook: Multi user chat improvements
- Load unread messages at login - Mark received messages as read git-svn-id: http://svn.miranda-ng.org/main/trunk@6313 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/events.cpp')
-rw-r--r--protocols/FacebookRM/src/events.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/protocols/FacebookRM/src/events.cpp b/protocols/FacebookRM/src/events.cpp
index 826a0a55ef..68f6a1f547 100644
--- a/protocols/FacebookRM/src/events.cpp
+++ b/protocols/FacebookRM/src/events.cpp
@@ -83,6 +83,14 @@ void FacebookProto::NotifyEvent(TCHAR* title, TCHAR* info, HANDLE contact, DWORD
if (!getByte(FACEBOOK_KEY_SYSTRAY_NOTIFY,DEFAULT_SYSTRAY_NOTIFY))
{
if (ServiceExists(MS_POPUP_ADDPOPUPCLASS)) {
+
+ // TODO: if popup with particular ID is already showed, just update his content
+ // ... but f***ed up Popup Classes won't allow it now - they need to return hPopupWindow somehow
+ /* if (popup exists) {
+ if (PUChangeTextT(hWndPopup, info) > 0) // success
+ return;
+ }*/
+
POPUPDATACLASS pd = { sizeof(pd) };
pd.ptszTitle = title;
pd.ptszText = info;