]> cat aescling's git repositories - mastodon.git/commit
Fix mention processing for unknwon accounts on incoming ActivityPub Notes (#10125)
authorThibG <thib@sitedethib.com>
Wed, 27 Feb 2019 13:57:14 +0000 (14:57 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Wed, 27 Feb 2019 13:57:14 +0000 (14:57 +0100)
commit9edab463682f5d5beb0a7f4e4574d708c95bbc52
tree6ddd70b33c508370adc11773e978aceb1736a52c
parenta5e7ada62fa2824be158f0b3bed7f3c39ce9c0fa
Fix mention processing for unknwon accounts on incoming ActivityPub Notes (#10125)

`::FetchRemoteAccountService` is not `ActivityPub::FetchRemoteAccountService`,
its second argument is the pre-fetched body. Passing `id: false` actually passed
a `Hash` as the prefetched body, instead of properly resolving unknown remote
accounts.
app/lib/activitypub/activity/create.rb