diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-07-13 04:24:40 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-07-13 04:24:40 +0000 |
commit | 784620ca47daa53367e4b504b36adc5bd3d3cd70 (patch) | |
tree | 13da1302dd39a3224a22ecee3e46f32dcd206d10 /MySpace/server_con.cpp | |
parent | 94dbef8e955066aef4c9feeba41ab7dfba03f8db (diff) |
added BlogSubscriptionComment notification, and unknown event notification
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@280 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'MySpace/server_con.cpp')
-rw-r--r-- | MySpace/server_con.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
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<KeyValue>::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);
}
}
}
|