Skip to content

Commit

Permalink
helper method to see if reports are local
Browse files Browse the repository at this point in the history
  • Loading branch information
Floppy committed Nov 29, 2024
1 parent d7b03ab commit fa2ec85
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/models/federails/moderation/report.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@ def reporter_address
end
end

def local?
federails_actor&.local?
end
end

0 comments on commit fa2ec85

Please sign in to comment.