[Standards] Images in chat

Tomasz Sterna tomek at xiaoka.com
Wed Mar 30 09:28:22 UTC 2016

W dniu 11.03.2016, pią o godzinie 15∶33 +0100, użytkownik Peter Waher
> What is the preferred way of sending an image in chat today?

XEP-0137 Describes publishing SI-FT advertisement using <message/> [1].

In such case I display a button in the chat window, allowing user to
download the file,
unless the mime-type of SI-PUB is image - in that case I fetch the
image without asking and display it directly instead of button.

[1] http://xmpp.org/extensions/xep-0137.html#usecase.publish

(_<^' I don't do it for the money.

More information about the Standards mailing list