ruby - How can I send an image on the web in an XMPP (Jabber) message? -


for xmpp interface stack overflow chat, taking html of chat messages , converting valid xml, , setting html child element of xmpp message object. in mac os x jabber client working great! meant when users in chat posted oneboxed image, image show in xmpp client (adium os x):

my mind blown

however updated adium latest version , apparently they considered doing security hole , against xmpp specs, , changed behavior. reasoning xmpp should not reveal ip address, , fetch image on http reveal ip address.

so chats imageless on xmpp. how can make images work on xmpp? should xmpp component download images , embed them <message> stanzas? can images proxied through xmpp server? or impossibility?

adium, ichat , pidgin support xep-0231, allows send provide binary data, including images purpose. basically, allows specify unique identifier source image, , other client can decide if wants request data in <iq> request.

i've been working in python's twisted, meeting frustration. know adium , ichat @ least use request data.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -