1
0
Fork 0
forked from gitea/nas

Add group account support

This commit is contained in:
KMY 2023-03-14 12:15:31 +09:00
parent b08cc0eaea
commit 05211ac206
11 changed files with 64 additions and 4 deletions

View file

@ -182,6 +182,7 @@ class ActivityPub::ProcessStatusUpdateService < BaseService
update_tags!
update_mentions!
update_emojis!
join_group!
end
def update_tags!
@ -218,6 +219,10 @@ class ActivityPub::ProcessStatusUpdateService < BaseService
Mention.where(id: removed_mentions.map(&:id)).update_all(silent: true) unless removed_mentions.empty?
end
def join_group!
GroupReblogService.call(@status)
end
def update_emojis!
return if skip_download?