zulip/zerver/lib/upload
Mateusz Mandera 420849ff6a slack: Call the correct resize_* function when importing realm icon.
For resizing the icon.png files, we use resize_avatar, not resize_logo.
This is pretty confusing - sure, for icons we use the same function as
for avatars, but we should have a proper name for the function called in
the icon context. So this commit also adds resize_realm_icon, and
changes the calls to resize_avatar in icon contexts to
resize_realm_icon.
2024-11-08 15:43:18 -08:00
..
__init__.py transaction: Add `durable=True` to the outermost db transactions. 2024-11-05 17:58:47 -08:00
base.py upload: Allow filtering to just a prefix (e.g. a realm id). 2024-09-26 12:01:11 -07:00
local.py slack: Call the correct resize_* function when importing realm icon. 2024-11-08 15:43:18 -08:00
s3.py slack: Call the correct resize_* function when importing realm icon. 2024-11-08 15:43:18 -08:00