easy-xmpp-invitation icon indicating copy to clipboard operation
easy-xmpp-invitation copied to clipboard

URI: Trim excess "xmpp:" if it was provided

Open earboxer opened this issue 3 years ago • 1 comments

Close https://github.com/ge0rg/easy-xmpp-invitation/issues/37

earboxer avatar Jul 01 '22 04:07 earboxer

Thank you for taking care of this

sjehuda avatar Jul 27 '22 07:07 sjehuda

Merged in d172071d02d0a390820841eb83a066e1e2511ba9, thank you very much!

ge0rg avatar Nov 24 '22 14:11 ge0rg

Zach, do you think we should use URL interface for cases of xmpp://?

sjehuda avatar Mar 10 '23 07:03 sjehuda

@sjehuda, as far as I know, there are no invitation XEP's which specify a URI beginning with xmpp://.

If there are popular clients/servers which create invitation URIs like this, we may consider it, but I think the first recourse would be to just fix those nonconforming clients/servers.

(maybe the confusion is that #16 shows a regex with / as separators, so it looks like a reference to xmpp://)

earboxer avatar Mar 10 '23 13:03 earboxer

I think the first recourse would be to just fix those nonconforming clients/servers.

I agree

sjehuda avatar Mar 10 '23 15:03 sjehuda