mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
register api: Rename max_logo_file_size.
Renaming `max_logo_file_size` to `max_logo_file_size_mib` reflecting the file size in mebibyte and update the frontend.
This commit is contained in:
committed by
Tim Abbott
parent
531cf041f1
commit
1da818f848
@@ -81,7 +81,7 @@ def add_realm_logo_fields(state: Dict[str, Any], realm: Realm) -> None:
|
||||
state["realm_logo_source"] = get_realm_logo_source(realm, night=False)
|
||||
state["realm_night_logo_url"] = get_realm_logo_url(realm, night=True)
|
||||
state["realm_night_logo_source"] = get_realm_logo_source(realm, night=True)
|
||||
state["max_logo_file_size"] = settings.MAX_LOGO_FILE_SIZE
|
||||
state["max_logo_file_size_mib"] = settings.MAX_LOGO_FILE_SIZE
|
||||
|
||||
|
||||
def always_want(msg_type: str) -> bool:
|
||||
|
||||
Reference in New Issue
Block a user