fd
This commit is contained in:
parent
2ea7e587d2
commit
0163f797fb
1 changed files with 2 additions and 2 deletions
|
@ -607,8 +607,8 @@ def agendaposter(user_id, v):
|
|||
|
||||
g.db.flush()
|
||||
|
||||
if user.agendaposter: send_notification(NOTIFICATIONS_ACCOUNT, user, f"You have been marked by an admin (@{v.username}) as an agendaposter ({note})")
|
||||
else: send_notification(NOTIFICATIONS_ACCOUNT, user, f"You have been unmarked by an admin (@{v.username}) as an agendaposter")
|
||||
if user.agendaposter: send_notification(NOTIFICATIONS_ACCOUNT, user, f"You have been marked by an admin as an agendaposter ({note}).")
|
||||
else: send_notification(NOTIFICATIONS_ACCOUNT, user, f"You have been unmarked by an admin as an agendaposter.")
|
||||
|
||||
return (redirect(user.url), user)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue