mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 23:13:25 +00:00
This commit introduces an assertion to verify that the avatar file for system bots exists and findable. In development, it'll assert that the avatar file exists in the static directory. This isn't done in production environment to avoid unnecessary overhead. It helps verify that the protocol to fetch system bot avatars still works when making changes during development. In production it'll check if the avatar file exists in the STATIC_ROOT and return a default avatar png if it doesn't.
5.5 KiB
5.5 KiB