aboutsummaryrefslogtreecommitdiff
path: root/test/mastodon-auth-tests.el
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2022-01-11 18:06:57 +0100
committermousebot <mousebot@riseup.net>2022-01-11 18:06:57 +0100
commitdd5f445ca7dcdb013c1cb31b61b8ae01444405cc (patch)
tree7be3c75a8bb365ecb41749b43f902d38bc874958 /test/mastodon-auth-tests.el
parent4eb0b578b5e4ba920999427c137b98043b41c9d4 (diff)
FIX local mentions/links checking
we remove the hacky non-check for a user handle from mastodon-tl--process-link, so that it /always/ runs mastodon-tl--extract-userhandle-from-url. the in extract-userhandle-from-url, we test if the url host = local instance. if so, we just return buffer-text, which = "@user", with no suffix. else we return a full "@user@instance.url" handle.
Diffstat (limited to 'test/mastodon-auth-tests.el')
0 files changed, 0 insertions, 0 deletions