From 784620ca47daa53367e4b504b36adc5bd3d3cd70 Mon Sep 17 00:00:00 2001 From: sje Date: Fri, 13 Jul 2007 04:24:40 +0000 Subject: added BlogSubscriptionComment notification, and unknown event notification git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@280 4f64403b-2f21-0410-a795-97e2b3489a10 --- MySpace/server_con.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'MySpace/server_con.cpp') diff --git a/MySpace/server_con.cpp b/MySpace/server_con.cpp index b540b3a..9701bf0 100644 --- a/MySpace/server_con.cpp +++ b/MySpace/server_con.cpp @@ -739,7 +739,10 @@ void __cdecl ServerThreadFunc(void*) { if(body.get_string("PictureComment", b, 10)) { NotifyPictureComment(); } - if(DBGetContactSettingByte(0, MODULE, "DebugMail", 0)) { + if(body.get_string("BlogSubscriptionPost", b, 10)) { + NotifyBlogSubscriptPost(); + } + if(DBGetContactSettingByte(0, MODULE, "UnknownNotify", 1)) { char pmsg[512]; for(LinkedList::Iterator i = body.start(); i.has_val(); i.next()) { KeyValue &kv = i.val(); @@ -749,10 +752,10 @@ void __cdecl ServerThreadFunc(void*) { && strcmp(kv.first.text, "ProfileComment") != 0 && strcmp(kv.first.text, "FriendRequest") != 0 && strcmp(kv.first.text, "PictureComment") != 0 - && strcmp(kv.first.text, "€") != 0) + && strcmp(kv.first.text, "BlogSubscriptionPost") != 0 + && strcmp(kv.first.text, "€") != 0) { - mir_snprintf(pmsg, 512, "%s = %s", kv.first.text, kv.second.text); - PUShowMessage(pmsg, SM_NOTIFY); + NotifyUnknown(kv.first.text); } } } -- cgit v1.2.3