mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 00:38:27 +00:00
Add "locked" flag to accounts, prevent blocked users from following, force-unfollow blocked users
This commit is contained in:
6
app/lib/exceptions.rb
Normal file
6
app/lib/exceptions.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Mastodon
|
||||
class Error < StandardError; end
|
||||
class NotPermitted < Error; end
|
||||
end
|
||||
Reference in New Issue
Block a user