Doesn't handle type "chat" messages from bare hosts correctly, nor allows to add a bare host as contact.
Describe the bug Title is self explanatory, I tested using Chrome and Microsoft Edge, on Chrome it shows a notification at least when receiving but doesn't open a tab or anything, on Edge it just discards the message all together.
To Reproduce Steps to reproduce the behavior:
- Go to https://inverse.lightwitch.org/#converse/register
- Register an account without supplying an E-Mail, after a minute or so the server will send a message from the bare host, on Chrome a notification is received on Edge nothing
- It's also impossible to send messages or add a bare host as contact
Expected behavior Converse.js should show a message tab, and it should allow to add bare hosts to the contacts roster.
Environment (please complete the following information):
- Desktop
- Chrome, Microsoft Edge
- Converse.js 5.0.1
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Looks like this is (at least in part) a duplicate of #1509
Well relating to #1509 in this case the server is interacting with the user and expecting him/her to answer back so however you wanna put it, doing like this prevents a user from completing registration on lightwitch.org for example
I'll just drop my +1 here.
Would really like to have this as currently none of the warning mechanisms a server can use to notify users of failures is supported (see also: #2683).
This is currently breaking my use-case of using Converse as fallback-client for an XMPP service
using mod_e2e_policy as users won't have any way to know why their messages don't arrive.
When joining an IRC channel via a Biboumi instance you'll get messages from the bridge: [email protected] and these will not appear in contact list but only show up as notifications.
DEBUG: <message xmlns="jabber:client" xml:lang="en" to="[email protected]/converse.js-15180124" from="[email protected]" type="chat"><archived by="[email protected]" id="1665129515800169" xmlns="urn:xmpp:mam:tmp"/><stanza-id by="[email protected]" id="1665129515800169" xmlns="urn:xmpp:sid:0"/><html xmlns="http://jabber.org/protocol/xhtml-im"><body xmlns="http://www.w3.org/1999/xhtml"><span style="color:green;">servername.server.tld</span>: *** Found your hostname</body></html><no-copy xmlns="urn:xmpp:hints"/><private xmlns="urn:xmpp:carbons:2"/><body>servername.server.tld: *** Found your hostname</body></message>
The tab "unread messages" counter even shows their number.