From 6b0cd0f2c3077d45cf86f413fdb35d2de2f1ae2e Mon Sep 17 00:00:00 2001 From: sje Date: Sun, 8 Jul 2007 16:27:43 +0000 Subject: 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 --- MySpace/server_con.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'MySpace/server_con.cpp') 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 #include @@ -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(); } } } -- cgit v1.2.3