From 389f409a4b7c4243435ffdd11e39f225965a5a61 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> Date: Mon, 2 Jun 2008 05:52:07 +0000 Subject: 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 --- MySpace/proto.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'MySpace/proto.cpp') 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); - + */ } } -- cgit v1.2.3