mirror of
https://github.com/zulip/zulip.git
synced 2026-07-18 21:04:19 +08:00
Add user_id to payload for is_admin updates.
This commit is contained in:
parent
28164d68b4
commit
e2afab142a
@ -2035,6 +2035,7 @@ def do_change_is_admin(user_profile, value, permission='administer'):
|
||||
if permission == 'administer':
|
||||
event = dict(type="realm_user", op="update",
|
||||
person=dict(email=user_profile.email,
|
||||
user_id=user_profile.id,
|
||||
is_admin=value))
|
||||
send_event(event, active_user_ids(user_profile.realm))
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user