Mercurial > pidgin
diff libpurple/protocols/myspace/persist.h @ 17316:2aff11bb5e72
Several small changes to work towards a working msim_remove_buddy():
(Note: I'm not there yet)
Change MsimSession.userid to an integer.
Change msim_postprocess_outgoing() to accept a format string in the _uid_field_name field, having "%d" replaced with the userid (instead of adding a new field with the userid). Added so that the "body" field can be postprocessed.
Enable msim_remove_buddy() to send the persistance buddy delete message,
but it does not yet work.
Add msim_new_reply_callback() for setting up a persistance reply callback,
instead of having to manually insert into the hash tables.
Add msim_msg_get_own_uid{,_cb}() to get our own userid.
Rename MG_YOUR_MYSPACE_INFO to MG_OWN_MYSPACE_INFO.
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Wed, 13 Jun 2007 21:21:48 +0000 |
parents | d353afe1aa12 |
children | d87916bd1d73 |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/persist.h Tue Jun 12 03:40:38 2007 +0000 +++ b/libpurple/protocols/myspace/persist.h Wed Jun 13 21:21:48 2007 +0000 @@ -62,7 +62,7 @@ MSIM_PERSIST_DSN_LID(MG_IM_INFO_BY_ID, 1, 17) MSIM_PERSIST_DSN_LID(MG_LIST_ALL_GROUPS, 2, 6) MSIM_PERSIST_DSN_LID(MG_MYSPACE_INFO_BY_ID, 4, 3) -MSIM_PERSIST_DSN_LID(MG_YOUR_MYSPACE_INFO, 4, 5) +MSIM_PERSIST_DSN_LID(MG_OWN_MYSPACE_INFO, 4, 5) MSIM_PERSIST_DSN_LID(MG_MYSPACE_INFO_BY_STRING, 5, 7) MSIM_PERSIST_DSN_LID(MG_CHECK_MAIL, 7, 18) MSIM_PERSIST_DSN_LID(MG_WEB_CHALLENGE, 17, 26)