changeset 19625:d47bfe67552a

merge of '03fef04c64d9f2d63fe8ba4e58704908e5f8dba8' and 'db4491bcf6c5691919d6131fe99b8da68423253e'
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 04 Sep 2007 00:39:12 +0000
parents 1b22d4c6fe47 (diff) f0aef60819af (current diff)
children 1a0fabe867be
files libpurple/protocols/myspace/myspace.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.c	Tue Sep 04 00:39:04 2007 +0000
+++ b/libpurple/protocols/myspace/myspace.c	Tue Sep 04 00:39:12 2007 +0000
@@ -1844,7 +1844,7 @@
 {
 	MsimSession *session;
 	MsimMessage *msg;
-	/* MsimMessage *msg_persist; */
+	MsimMessage *msg_persist;
 	MsimMessage *body;
 
 	session = (MsimSession *)gc->proto_data;
@@ -1879,12 +1879,12 @@
 
 	/* TODO: Update blocklist. */
 
-#if 0
 	msg_persist = msim_msg_new(
 		"persist", MSIM_TYPE_INTEGER, 1,
 		"sesskey", MSIM_TYPE_INTEGER, session->sesskey,
 		"cmd", MSIM_TYPE_INTEGER, MSIM_CMD_BIT_ACTION | MSIM_CMD_PUT,
 		"dsn", MSIM_TYPE_INTEGER, MC_CONTACT_INFO_DSN,
+		"uid", MSIM_TYPE_INTEGER, session->userid,
 		"lid", MSIM_TYPE_INTEGER, MC_CONTACT_INFO_LID,
 		/* TODO: Use msim_new_reply_callback to get rid. */
 		"rid", MSIM_TYPE_INTEGER, session->next_rid++,
@@ -1898,7 +1898,6 @@
 		return;
 	}
 	msim_msg_free(msg_persist);
-#endif
 
 }