changeset 24745:d7fad2c0cf7c

Some other changes to make this more like the official client, and make it work
author Mark Doliner <mark@kingant.net>
date Tue, 16 Dec 2008 21:52:50 +0000
parents e5f8d9ba84db
children 8e75a1525156
files libpurple/protocols/myspace/myspace.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.c	Tue Dec 16 21:47:44 2008 +0000
+++ b/libpurple/protocols/myspace/myspace.c	Tue Dec 16 21:52:50 2008 +0000
@@ -1163,10 +1163,11 @@
 	msim_send(session,
 			"persist", MSIM_TYPE_INTEGER, 1,
 			"sesskey", MSIM_TYPE_INTEGER, session->sesskey,
+			"cmd", MSIM_TYPE_INTEGER, MSIM_CMD_GET,
 			"dsn", MSIM_TYPE_INTEGER, MG_OWN_MYSPACE_INFO_DSN,
-			"uid", MSIM_TYPE_INTEGER, session->userid,
 			"lid", MSIM_TYPE_INTEGER, MG_OWN_MYSPACE_INFO_LID,
 			"rid", MSIM_TYPE_INTEGER, session->next_rid++,
+			"UserID", MSIM_TYPE_INTEGER, session->userid,
 			"body", MSIM_TYPE_DICTIONARY, body,
 			NULL);
 
@@ -1175,8 +1176,8 @@
 	msim_send(session,
 			"persist", MSIM_TYPE_INTEGER, 1,
 			"sesskey", MSIM_TYPE_INTEGER, session->sesskey,
+			"cmd", MSIM_TYPE_INTEGER, MSIM_CMD_GET,
 			"dsn", MSIM_TYPE_INTEGER, MG_OWN_IM_INFO_DSN,
-			"uid", MSIM_TYPE_INTEGER, session->userid,
 			"lid", MSIM_TYPE_INTEGER, MG_OWN_IM_INFO_LID,
 			"rid", MSIM_TYPE_INTEGER, session->next_rid++,
 			"body", MSIM_TYPE_STRING, g_strdup(""),