diff libpurple/protocols/myspace/myspace.c @ 24780: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 722732726d91 138c729f8c9a
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(""),