diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-22 21:34:19 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-22 21:34:19 +0100 |
commit | 2d2154ba75279186b064c887452b7d6ee70b8ba2 (patch) | |
tree | e27a84e2245184c899f2b347d63af16210973660 /app/lib | |
parent | f91b6fa9e15029f23be7be3b796eca122e5b5588 (diff) |
Add "locked" flag to accounts, prevent blocked users from following, force-unfollow blocked users
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/exceptions.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/lib/exceptions.rb b/app/lib/exceptions.rb new file mode 100644 index 000000000..359228c29 --- /dev/null +++ b/app/lib/exceptions.rb @@ -0,0 +1,6 @@ +# frozen_string_literal: true + +module Mastodon + class Error < StandardError; end + class NotPermitted < Error; end +end |