Marcus Lundblad wrote:
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.htmlNice. 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.
Great, thanks for the feedback. Simpler is better. :) Pavel and I worked out these changes yesterday in the jdev room -- I'm sure you can find the logs at http://logs.jabber.org/ if you're really interested in our thought process...
/psa
smime.p7s
Description: S/MIME Cryptographic Signature
