-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Mentions of Pleroma users do not maintain domain #108
Comments
ST restore full acct from mention's href="..." link. ST support and test for Mastodon and Misskey, but currently I don't use Pleroma. PRs are welcome. |
(1) Resolving full acct by fetching user URL requires some network cost. I want to avoid extra network request in most case. (2)also Mastodon 3.x will have some restricted mode for AP request from non-allowed host. current AP is Server-to-Server protocol. |
OK, if it is done with href, then href should probably recognize more than just Or maybe can use |
the mentions metadata can't be used to resolve acct in this case. if a toot has mentions such as "@tateisu@a @tateisu@b @tateisu@c @tateisu@a" , mentions metadata has only 3 entry. I think mention link href only indicates the user's instance, but its url format is not regulated. also, in a message sent from misskey to mastodon, no guarantee url host is same to user's instance, because misskey may clones public user page, such as https://misskey-site/@user@other-instance. of course ST should detect most user URL from federated service.
2,3 is not implemented currently. |
hmm. in activitypub the
Example: https://mastodon.social/api/v1/statuses/102732717380497594
so:
|
misskey-to-mastodon actually should not matter, right? https://mastodon.social/api/v1/statuses/100305188921872645
Note that misskey authors outgoing mention as |
misskey changes behavior in between v10 ages. but ST supports some old age. |
i just sent a test message from trwnh@misskey.io to trwnh@mastodon.social,
and received the following in mastodon.social API response:
- content includes a href=https://mastodon.social/users/trwnh, but inside
the a tag is @trwnh@mastodon.social
- mention url of course is https://mastodon.social/@trwnh
in such a case it is true that the url and href do not match. but i think
it might be ok to just ignore any a tag which does not have a match? i am
not sure that this is ideal, but at least it gives result that is within
expectation and also works in more cases than the current algorithm. (my
main concern is being able to copy text and post it with working mentions,
which means select-and-copy should indicate webfinger address)
…On Wed, Sep 4, 2019, 08:56 tateisu ***@***.***> wrote:
misskey changs behavior in between v10 ages. but ST supports som olg age.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#108?email_source=notifications&email_token=ACQ5OXYQZE4UU4FJOARJNSDQH65AXA5CNFSM4ITAZRZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD53UZPY#issuecomment-527912127>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACQ5OX7ZUCRSERMDHD5KDJ3QH65AXANCNFSM4ITAZRZQ>
.
|
please wait until I finished my other job. |
Both in display and during "select and copy". Mastodon users consistently have full username maintained. Pleroma users consistently drop domain.
Presumably this might be because of the form of the URL in the a href? Mastodon and Pleroma both use
/users/username
for ActivityPub id, but Mastodon uses/@username
for url and in mention links.The text was updated successfully, but these errors were encountered: