mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 01:16:19 +00:00
In get_display_recipient, the userprofile was selected incorrectly by user_id instead of the userprofile_id. In production, this hasn't resulted in a user-visible error because we use MySQL and user ids are always equal to userprofile ids. This does happen if you are using SQLite locally and run populate_db, which adds a bunch of users in parallel in an insufficiently transactional way. (imported from commit c25a04b4919e3efdfc6996b03492f7714d9034e8)
27 KiB
27 KiB