Mercurial > pidgin.yaz
changeset 19597:1b22d4c6fe47
Add uid field to add buddy persistance request. Now adding buddies to the
server-side contacts should work.
Closes #2658 server-side contacts.
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Tue, 04 Sep 2007 00:10:03 +0000 |
parents | 582a5608cfc1 |
children | 339c7c8c0e08 d47bfe67552a |
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 Mon Sep 03 17:59:44 2007 +0000 +++ b/libpurple/protocols/myspace/myspace.c Tue Sep 04 00:10:03 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 }