zulip/zerver
Mohammad Reza Kianifar df00b68529 messages: Add unread 1:1/self DMs to pm_dict if DM group exists.
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.
2025-06-05 17:03:49 -07:00
..
actions channel_folders: Pass realm as argument to check_add_channel_folder. 2025-05-29 15:39:03 -07:00
data_import slack: Don't show error code to users. 2025-05-28 17:18:07 -07:00
lib messages: Add unread 1:1/self DMs to pm_dict if DM group exists. 2025-06-05 17:03:49 -07:00
management export_search: Support --dm option for 1:1 DMs using DM group. 2025-06-05 17:01:45 -07:00
migrations navigation_views: Add backend for navigation views in left sidebar. 2025-05-23 16:25:08 -07:00
models models: Fix typo in RealmAuthenticationMethod docstring. 2025-06-05 16:08:21 -07:00
openapi navigation_views: Add backend for navigation views in left sidebar. 2025-05-23 16:25:08 -07:00
tests messages: Add unread 1:1/self DMs to pm_dict if DM group exists. 2025-06-05 17:03:49 -07:00
tornado
transaction_tests
views folders: Don't allow archiving a folder if it contains channels. 2025-05-29 15:39:03 -07:00
webhooks integrations: Fix INVALID_SLACK_TOKEN_MESSAGE. 2025-06-05 15:47:39 -07:00
worker email_senders: Handle a None realm_id. 2025-05-22 10:30:39 -07:00
__init__.py
apps.py
context_processors.py
decorator.py
filters.py
forms.py registration: Enable import from slack using realm registration form. 2025-05-14 13:24:38 -07:00
logging_handlers.py
middleware.py
signals.py