Do not warn when adding a contact whose XMPP adress contains chat as subdomain
p42ity opened this issue · comments
When an XMPP contact is added, Conversations warns the user that the address might be a channel instead of a contact when chat is used as a subdomain.
Reproduction:
- Start Conversations
- Add test@chat.example.com
- Conversations warns that this might be a channel id. When the user presses add a second time, the contact is added.
Since chat is a common subdomain for XMPP-servers (at least not an uncommon one) it would be great, if this subdomain is accepted without a warning.
.chat is used a an example subdomain in the Snikket quick-start guide: https://snikket.org/service/quickstart/
I think that the decision to warn when chat is used as a subdomain relies on https://wiki.xmpp.org/web/Guide/Server/de where conference and chat are recommended as subdomains for group chats.