summaryrefslogtreecommitdiff
path: root/MySpace/server_con.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'MySpace/server_con.cpp')
-rw-r--r--MySpace/server_con.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/MySpace/server_con.cpp b/MySpace/server_con.cpp
index 2753f14..10e3197 100644
--- a/MySpace/server_con.cpp
+++ b/MySpace/server_con.cpp
@@ -681,6 +681,20 @@ void __cdecl ServerThreadFunc(void*) {
if(body.get_string("Mail", b, 10)) {
NotifyMail();
}
+ if(body.get_string("ProfileComment", b, 10)) {
+ NotifyProfileComment();
+ }
+ if(body.get_string("FriendRequest", b, 10)) {
+ NotifyFriendRequest();
+ }
+ if(DBGetContactSettingByte(0, MODULE, "DebugMail", 0)) {
+ char pmsg[512];
+ for(LinkedList<KeyValue>::Iterator i = body.start(); i.has_val(); i.next()) {
+ KeyValue &kv = i.val();
+ mir_snprintf(pmsg, 512, "%s = %s", kv.first.text, kv.second.text);
+ PUShowMessage(pmsg, SM_NOTIFY);
+ }
+ }
}
}
buffer_bytes -= (end - pbuff);