Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XEP-0066 receiving support #2256

Closed
singpolyma opened this issue Jan 23, 2017 · 7 comments
Closed

XEP-0066 receiving support #2256

singpolyma opened this issue Jan 23, 2017 · 7 comments

Comments

@singpolyma
Copy link

General information

  • Version: 1.15.0
  • Device: Blackberry Q10
  • Server name: self hosted
  • Server software: Prosody 0.9.1
  • Conversations source: F-Droid

Steps to reproduce

  1. Open XML console in Gajim
  2. Paste this:
<message to="singpolyma@singpolyma.net/q10" type="chat">
   <x xmlns='jabber:x:oob'>
      <url>https://singpolyma.net/avatar-big.jpg</url>
   </x>
</message>

Expected result

I expect to get a picture message in my Conversations. Instead I get nothing.

@mimi89999
Copy link
Sponsor

@singpolyma Why would you need that?

@singpolyma
Copy link
Author

@mimi89999 for a message that has an image but no accompanying text?

@mimi89999
Copy link
Sponsor

@singpolyma Which XMPP client parses them like that (because I suppose you aren't normally writting XML in the Gajim console).

@singpolyma
Copy link
Author

singpolyma commented Jan 23, 2017

@mimi89999 Gajim happily supports this format

I'd like to use this XEP as one of the ways I do file transfers from a gateway component.

@iNPUTmice
Copy link
Owner

I suggest you put the URL in the body as well. This will trigger the desired behavior in Conversations.

@singpolyma
Copy link
Author

Yes, that is the hack we are using for now, but it produces less nice behaviour in other clients (who show the URL as a text message) and also means we cannot include text along with an image in the same message.

@iNPUTmice
Copy link
Owner

For the record (because I saw this on https://wiki.soprani.ca/ClientIssues) Conversations supports this now as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants