diff options
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);
}
}
}
|