Fix handling of duplicate mentions in incoming status Update (#33911)

This commit is contained in:
Claire 2025-02-12 16:34:56 +01:00
parent 679e7555ee
commit 08d2250ad2
3 changed files with 12 additions and 5 deletions

View file

@ -18,6 +18,7 @@ RSpec.describe ActivityPub::ProcessStatusUpdateService do
tag: [
{ type: 'Hashtag', name: 'hoge' },
{ type: 'Mention', href: ActivityPub::TagManager.instance.uri_for(alice) },
{ type: 'Mention', href: ActivityPub::TagManager.instance.uri_for(alice) },
{ type: 'Mention', href: bogus_mention },
],
}