> Version 0.7 of XEP-0231 (Bits of Binary) has been released. > > Abstract: This specification defines an XMPP protocol extension for > including or referring to small bits of binary data in an XML stanza. > > Changelog: Simplified the protocol; removed fetch element because the cid: > URI uniquely identifies the data; changed the name of the protocol to > something more catchy. (psa/ps) > > Diff: http://is.gd/1hwb > > URL: http://www.xmpp.org/extensions/xep-0231.html > >
Nice. I was actually about to suggest exactly these changes based on the implementation I've made in libpurple. Now, the only change I need to make is not make it not include data by default. This also means I don't need to keep track of which data objects have been sent in a conversation. It will only need to cache binary data received in a conversation. This is using the messaging use-case for emoticons. Currently we don't implement an emoticon cache. This might get implemented later on. So currently received emoticons are only cached in memory during a conversation. Since my current implementation already supports fetching data, so this should simplify things. //Marcus
