mirror of
https://github.com/zulip/zulip.git
synced 2025-11-08 07:52:19 +00:00
In get_raw_unread_data, 1:1 or self messages are added to pm_dict. However, if a DirectMessageGroup is the recipient, the message is added to huddle_dict by default. To keep API compatibility, we override this behavior to populate pm_dict for 1:1 and self DMs when a DirectMessageGroup exists. This ensures clients relying on pm_dict continue to work during and after the migration. This PR fixes part of issue #25713.
65 KiB
65 KiB