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):
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
Post a Comment