diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-07-08 16:27:43 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-07-08 16:27:43 +0000 |
commit | 6b0cd0f2c3077d45cf86f413fdb35d2de2f1ae2e (patch) | |
tree | 370c8d1c36bd07381638c7aa8687ed44e909648e /MySpace/server_con.cpp | |
parent | 9dcad35f7d973b3161b6e56926fc565c2716f943 (diff) |
added clickable single-instance popups for mail and blog comment notification
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@259 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'MySpace/server_con.cpp')
-rw-r--r-- | MySpace/server_con.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/MySpace/server_con.cpp b/MySpace/server_con.cpp index 094e5dd..2753f14 100644 --- a/MySpace/server_con.cpp +++ b/MySpace/server_con.cpp @@ -5,6 +5,7 @@ #include "options.h"
#include "nick_dialog.h"
#include "formatting.h"
+#include "notifications.h"
#include <malloc.h>
#include <ctime>
@@ -675,10 +676,10 @@ void __cdecl ServerThreadFunc(void*) { Dictionary body = msg.get_dict("body");
char b[10];
if(body.get_string("BlogComment", b, 10)) {
- PUShowMessage("You have new blog comments", SM_NOTIFY);
+ NotifyBlogComment();
}
if(body.get_string("Mail", b, 10)) {
- PUShowMessage("You have new mail", SM_NOTIFY);
+ NotifyMail();
}
}
}
|