Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/data.h @ 30034:1bde873d1b94
jabber: Cache incoming BoB object per JID (and local JID) instead of discarding
them when receiving an invalid or unrecognised hash. As per the MUC discussions.
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Tue, 23 Mar 2010 22:17:34 +0000 |
parents | fce17268c9ec |
children | 38926d6e5ae1 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/data.h Mon Mar 22 22:23:35 2010 +0000 +++ b/libpurple/protocols/jabber/data.h Tue Mar 23 22:17:34 2010 +0000 @@ -67,11 +67,13 @@ /* lookup functions */ const JabberData *jabber_data_find_local_by_alt(const gchar *alt); const JabberData *jabber_data_find_local_by_cid(const gchar *cid); -const JabberData *jabber_data_find_remote_by_cid(const gchar *cid); +const JabberData *jabber_data_find_remote_by_cid(JabberStream *js, + const gchar *who, const gchar *cid); /* store data objects */ void jabber_data_associate_local(JabberData *data, const gchar *alt); -void jabber_data_associate_remote(JabberData *data); +void jabber_data_associate_remote(JabberStream *js, const gchar *who, + JabberData *data); /* handles iq requests */ void jabber_data_parse(JabberStream *js, const char *who, JabberIqType type,