mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
We don't always know about every user id. So, our code should reflect the same. Fixed by refactoring the function to use User object a function parameter and let the called get the user object if possible. This reduces duplicate calculation to get user object too.
9.3 KiB
9.3 KiB