Mercurial > pidgin.yaz
comparison libpurple/protocols/myspace/myspace.c @ 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 | 722732726d91 138c729f8c9a |
comparison
equal
deleted
inserted
replaced
24744:e5f8d9ba84db | 24745:d7fad2c0cf7c |
---|---|
1161 | 1161 |
1162 /* Request IM info about ourself. */ | 1162 /* Request IM info about ourself. */ |
1163 msim_send(session, | 1163 msim_send(session, |
1164 "persist", MSIM_TYPE_INTEGER, 1, | 1164 "persist", MSIM_TYPE_INTEGER, 1, |
1165 "sesskey", MSIM_TYPE_INTEGER, session->sesskey, | 1165 "sesskey", MSIM_TYPE_INTEGER, session->sesskey, |
1166 "cmd", MSIM_TYPE_INTEGER, MSIM_CMD_GET, | |
1166 "dsn", MSIM_TYPE_INTEGER, MG_OWN_MYSPACE_INFO_DSN, | 1167 "dsn", MSIM_TYPE_INTEGER, MG_OWN_MYSPACE_INFO_DSN, |
1167 "uid", MSIM_TYPE_INTEGER, session->userid, | |
1168 "lid", MSIM_TYPE_INTEGER, MG_OWN_MYSPACE_INFO_LID, | 1168 "lid", MSIM_TYPE_INTEGER, MG_OWN_MYSPACE_INFO_LID, |
1169 "rid", MSIM_TYPE_INTEGER, session->next_rid++, | 1169 "rid", MSIM_TYPE_INTEGER, session->next_rid++, |
1170 "UserID", MSIM_TYPE_INTEGER, session->userid, | |
1170 "body", MSIM_TYPE_DICTIONARY, body, | 1171 "body", MSIM_TYPE_DICTIONARY, body, |
1171 NULL); | 1172 NULL); |
1172 | 1173 |
1173 /* Request MySpace info about ourself. */ | 1174 /* Request MySpace info about ourself. */ |
1174 purple_debug_error("MARK", "Fetching info about ourself\n"); | 1175 purple_debug_error("MARK", "Fetching info about ourself\n"); |
1175 msim_send(session, | 1176 msim_send(session, |
1176 "persist", MSIM_TYPE_INTEGER, 1, | 1177 "persist", MSIM_TYPE_INTEGER, 1, |
1177 "sesskey", MSIM_TYPE_INTEGER, session->sesskey, | 1178 "sesskey", MSIM_TYPE_INTEGER, session->sesskey, |
1179 "cmd", MSIM_TYPE_INTEGER, MSIM_CMD_GET, | |
1178 "dsn", MSIM_TYPE_INTEGER, MG_OWN_IM_INFO_DSN, | 1180 "dsn", MSIM_TYPE_INTEGER, MG_OWN_IM_INFO_DSN, |
1179 "uid", MSIM_TYPE_INTEGER, session->userid, | |
1180 "lid", MSIM_TYPE_INTEGER, MG_OWN_IM_INFO_LID, | 1181 "lid", MSIM_TYPE_INTEGER, MG_OWN_IM_INFO_LID, |
1181 "rid", MSIM_TYPE_INTEGER, session->next_rid++, | 1182 "rid", MSIM_TYPE_INTEGER, session->next_rid++, |
1182 "body", MSIM_TYPE_STRING, g_strdup(""), | 1183 "body", MSIM_TYPE_STRING, g_strdup(""), |
1183 NULL); | 1184 NULL); |
1184 | 1185 |