summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorZero <zero@cock.li>2023-05-25 12:36:05 -0400
committerZero <zero@cock.li>2023-05-26 12:30:19 -0400
commit279fd47b486ccfda4537d7a64d553ac261a6fdd8 (patch)
tree7fb9b899ec0191aec7ae1a1b0330711208ade6d3 /benchmarks
parent5433742faf0acfe759799c1b7907b1aff44ecaf3 (diff)
downloadpleroma-279fd47b486ccfda4537d7a64d553ac261a6fdd8.tar.gz
pleroma-279fd47b486ccfda4537d7a64d553ac261a6fdd8.zip
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
Diffstat (limited to 'benchmarks')
0 files changed, 0 insertions, 0 deletions