Mercurial > pidgin.yaz
diff libpurple/protocols/myspace/myspace.h @ 17363:3a02e7db91c7
Add message preprocessing in msim_preprocess_incoming(), to resolve
uid->username before sending to msim_process(). So far, msim_status() takes
advantage of this infrastructure, eliminating the callback.
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Tue, 05 Jun 2007 02:36:17 +0000 |
parents | ceba4fc06c41 |
children | e64bcff3b674 |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.h Mon Jun 04 04:06:58 2007 +0000 +++ b/libpurple/protocols/myspace/myspace.h Tue Jun 05 02:36:17 2007 +0000 @@ -166,11 +166,11 @@ unsigned int msim_send_typing(PurpleConnection *gc, const char *name, PurpleTypingState state); gboolean msim_process_reply(MsimSession *session, MsimMessage *msg); -gboolean msim_process(PurpleConnection *gc, MsimMessage *msg); + +gboolean msim_preprocess_incoming(MsimSession *session, MsimMessage *msg); +gboolean msim_process(MsimSession *session, MsimMessage *msg); gboolean msim_error(MsimSession *session, MsimMessage *msg); -void msim_status_cb(MsimSession *session, MsimMessage *userinfo, - gpointer data); gboolean msim_status(MsimSession *session, MsimMessage *msg); void msim_add_buddy(PurpleConnection *gc, PurpleBuddy *buddy, PurpleGroup *group);