Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
Open sidebar
Tiger Ton
mastodon
Commits
10f7278e
Commit
10f7278e
authored
6 years ago
by
Eugen Rochko
Browse files
Options
Download
Email Patches
Plain Diff
Fix class autoloading issue in ActivityPub::Activity::Create (#8820)
parent
39e84d17
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/lib/activitypub/activity/create.rb
+1
-1
app/lib/activitypub/activity/create.rb
with
1 addition
and
1 deletion
+1
-1
app/lib/activitypub/activity/create.rb
+
1
-
1
View file @
10f7278e
...
...
@@ -92,7 +92,7 @@ class ActivityPub::Activity::Create < ActivityPub::Activity
return
if
tag
[
'href'
].
blank?
account
=
account_from_uri
(
tag
[
'href'
])
account
=
FetchRemoteAccountService
.
new
.
call
(
tag
[
'href'
],
id:
false
)
if
account
.
nil?
account
=
::
FetchRemoteAccountService
.
new
.
call
(
tag
[
'href'
],
id:
false
)
if
account
.
nil?
return
if
account
.
nil?
account
.
mentions
.
create
(
status:
status
)
end
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets