Aevann 2023-08-25 05:25:09 +03:00
parent b3baa83b47
commit 796caef336
1 changed files with 2 additions and 0 deletions

View File

@ -166,6 +166,8 @@ def move_post(post, v, reason):
if not can_move_post: return False
if sub_to == None:
if HOLE_REQUIRED:
abort(403, "All posts are required to be flaired!")
sub_to_in_notif = 'the main feed'
else:
sub_to_in_notif = f'/h/{sub_to}'