summaryrefslogtreecommitdiff
path: root/MySpace/proto.cpp
diff options
context:
space:
mode:
author(no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10>2008-06-02 05:52:07 +0000
committer(no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10>2008-06-02 05:52:07 +0000
commit389f409a4b7c4243435ffdd11e39f225965a5a61 (patch)
tree336485ddede887b1f44037f68c25e812630b0cd7 /MySpace/proto.cpp
parentbbdabe234691ad14c975661376e4e89c6650cdb8 (diff)
store contacts properly on server side, so that status is reported
added code to store all old contacts to fix old server side contact lists updated version.h git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@409 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'MySpace/proto.cpp')
-rw-r--r--MySpace/proto.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/MySpace/proto.cpp b/MySpace/proto.cpp
index 3fd3287..5d38d07 100644
--- a/MySpace/proto.cpp
+++ b/MySpace/proto.cpp
@@ -263,6 +263,9 @@ int AddToList(WPARAM wParam, LPARAM lParam) {
hContact = CreateContact(mpsr->uid, mpsr->psr.nick, mpsr->psr.email, temp ? false : true);
} else {
if(!temp) {
+ AddBuddyOnServer(mpsr->uid);
+
+ /*
ClientNetMessage msg_add;
msg_add.add_string("addbuddy", "");
msg_add.add_int("sesskey", sesskey);
@@ -270,7 +273,7 @@ int AddToList(WPARAM wParam, LPARAM lParam) {
msg_add.add_string("reason", "");
SendMessage(msg_add);
-
+ */
}
}