same as last commit

pull/139/head
Aevann 2023-03-15 04:16:41 +02:00
parent a2e926ef17
commit 3cdffac133
1 changed files with 3 additions and 0 deletions

View File

@ -193,6 +193,9 @@ def move_post(post:Submission, v:User, reason:str) -> Union[bool, str]:
_note=f'{sub_from_str}{sub_to_str}',
)
g.db.add(ma)
if sub_to == 'chudrama':
post.bannedfor = None
else:
ma = SubAction(
sub=sub_from,