ForceMentionsInContent: fix double mentions for Mastodon/Misskey posts
The code checked for duplicates using "ap_id", but in Mastodon and Misskey the look like that: Mastodon: https://mastodon.example.com/users/roger Misskey: https:///misskey.example.com/users/104ab42f11 The fix is to also check for "uri", which is what will be in the "explicitly_mentioned_uris" list: Mastodon: https://mastodon.example.com/@roger Misskey: https://misskey.example.com/@roger
This commit is contained in:
parent
5433742faf
commit
279fd47b48
3 changed files with 55 additions and 3 deletions
1
changelog.d/3888.fix
Normal file
1
changelog.d/3888.fix
Normal file
|
|
@ -0,0 +1 @@
|
|||
ForceMentionsInContent: fix double mentions for Mastodon/Misskey posts
|
||||
Loading…
Add table
Add a link
Reference in a new issue