mirror of https://github.com/zulip/zulip.git
actions: Support acting_user=None in check_change_full_name.
do_change_full_name supports it already, so this is a trivial change.
This commit is contained in:
parent
1dec97c925
commit
7c0995b14b
|
@ -4323,7 +4323,7 @@ def do_change_full_name(
|
|||
|
||||
|
||||
def check_change_full_name(
|
||||
user_profile: UserProfile, full_name_raw: str, acting_user: UserProfile
|
||||
user_profile: UserProfile, full_name_raw: str, acting_user: Optional[UserProfile]
|
||||
) -> str:
|
||||
"""Verifies that the user's proposed full name is valid. The caller
|
||||
is responsible for checking check permissions. Returns the new
|
||||
|
|
Loading…
Reference in New Issue