forked from MarseyWorld/MarseyWorld
master
parent
b3baa83b47
commit
796caef336
|
@ -166,6 +166,8 @@ def move_post(post, v, reason):
|
||||||
if not can_move_post: return False
|
if not can_move_post: return False
|
||||||
|
|
||||||
if sub_to == None:
|
if sub_to == None:
|
||||||
|
if HOLE_REQUIRED:
|
||||||
|
abort(403, "All posts are required to be flaired!")
|
||||||
sub_to_in_notif = 'the main feed'
|
sub_to_in_notif = 'the main feed'
|
||||||
else:
|
else:
|
||||||
sub_to_in_notif = f'/h/{sub_to}'
|
sub_to_in_notif = f'/h/{sub_to}'
|
||||||
|
|
Loading…
Reference in New Issue