mirror of
https://github.com/zulip/zulip.git
synced 2026-07-12 21:04:41 +08: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. |
||
|---|---|---|
| .. | ||
| actions | ||
| data_import | ||
| lib | ||
| management | ||
| migrations | ||
| models | ||
| openapi | ||
| tests | ||
| tornado | ||
| transaction_tests | ||
| views | ||
| webhooks | ||
| worker | ||
| __init__.py | ||
| apps.py | ||
| context_processors.py | ||
| decorator.py | ||
| filters.py | ||
| forms.py | ||
| logging_handlers.py | ||
| middleware.py | ||
| signals.py | ||