-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Support XMPP URI in Mastodon interface #9776
Comments
|
Correct me if I'm wrong, but isn't this handled by the browser/OS and not by websites? https://wiki.xmpp.org/web/XMPP_URIs |
|
@trwnh the question is about autolinking
…On Thu, Jan 10, 2019, 2:42 PM trwnh ***@***.***> wrote:
Correct me if I'm wrong, but isn't this handled by the browser/OS and not
by websites? https://wiki.xmpp.org/web/XMPP_URIs
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#9776 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAORVwX8E7QOGDrPABLiR7eH5nC7zY6qks5vB5fAgaJpZM4Z5YIt>
.
|
|
@trwnh no, soft/lib need to add support (xmpp:) Example: I have added in html-pipeline: |
|
Hey! It would be great to have such a feature. I often find myself having to workaround it. Would a patch be considered? |
Fixes mastodon#9776 The difficult part is autolinking, because Twitter-text's extractor does some pretty ad-hoc stuff to find things that “look like” URLs, and XMPP URIs do not really match the assumptions of that lib, so it doesn't sound wise to try to shoehorn it into the existing regex. This is why I used a specific regex (very close, although slightly more permissive than the RFC), and a specific scan function (a simplified version of the generalized one from Twitter).
|
Would be nice if xmpp uris are also supported in profile metadata |
|
Thanks a lot <3 |
Some users put XMPP URI in their profiles or toots it would be nice if Mastodon can make these links clickable.
xmpp:user@instance.tldor
xmpp://user@instance.tldSee : https://tools.ietf.org/html/rfc5122
The link can be an xmpp URI to join a chat room too.
xmpp:xmpp-sprint@chat.cluxia.eu?joinExpected behaviour
XMPP URIs are clickable allowing people open new chats on their system's XMPP client.
Actual behaviour
XMPP URIs appear as normal text and are not clickable or identifiable as an URI
Steps to reproduce the problem
Toot the following:
xmpp:xmpp-sprint@chat.cluxia.eu?joinThe text was updated successfully, but these errors were encountered: