forked from MarseyWorld/MarseyWorld
same as last commit
parent
a2e926ef17
commit
3cdffac133
|
@ -193,6 +193,9 @@ def move_post(post:Submission, v:User, reason:str) -> Union[bool, str]:
|
||||||
_note=f'{sub_from_str} → {sub_to_str}',
|
_note=f'{sub_from_str} → {sub_to_str}',
|
||||||
)
|
)
|
||||||
g.db.add(ma)
|
g.db.add(ma)
|
||||||
|
|
||||||
|
if sub_to == 'chudrama':
|
||||||
|
post.bannedfor = None
|
||||||
else:
|
else:
|
||||||
ma = SubAction(
|
ma = SubAction(
|
||||||
sub=sub_from,
|
sub=sub_from,
|
||||||
|
|
Loading…
Reference in New Issue