zulip/zerver
Prakhar Pratyush 49092dfa79 unread_msgs: Fix all unreads in muted stream being treated as muted.
Earlier, 'is_row_muted' returned 'true' if the message was in
a muted stream or muted topic.

If the message is in an unmuted or followed topic in a muted
stream, such topics should be treated as not muted topics
in an unmuted stream.

This commit fixes the incorrect behavior.

Now, for wildcard mentions, 'unread_msgs.mentions' exclude
the IDs in muted streams only if the message is in default or
muted topic.

Also, 'unread_msgs.count' takes into account the unreads in unmuted
or followed topics in muted streams too.

Documents that this bug was fixed in the API changelog.
2023-09-27 13:11:20 -07:00
..
actions build_message_send_dict: Remove redundant realm arg. 2023-09-20 09:55:25 -07:00
data_import python: Elide unnecessary list wrappers. 2023-09-13 12:41:23 -07:00
integration_fixtures/nagios
lib unread_msgs: Fix all unreads in muted stream being treated as muted. 2023-09-27 13:11:20 -07:00
management realm: Differentiate reserved realms from in-use realms. 2023-09-25 12:48:14 -07:00
migrations org_settings: Add backend for `realm_jitsi_server_url` setting. 2023-09-21 17:39:10 -07:00
openapi unread_msgs: Fix all unreads in muted stream being treated as muted. 2023-09-27 13:11:20 -07:00
tests unread_msgs: Fix all unreads in muted stream being treated as muted. 2023-09-27 13:11:20 -07:00
tornado python: Delete superfluous parens. 2023-09-13 13:40:19 -07:00
transaction_tests docs: Fix typos caught by ‘typos’. 2023-09-06 18:59:05 -07:00
views topic: Add realm limits to topic history queries. 2023-09-27 10:22:42 -07:00
webhooks python: Delete superfluous parens. 2023-09-13 13:40:19 -07:00
worker python: Replace functools.partial with type-safe returns.curry.partial. 2023-09-11 18:03:45 -07:00
__init__.py
apps.py requirements: Upgrade Python requirements. 2023-04-03 22:39:21 -07:00
context_processors.py emails: Add corporate_enabled to context for emails. 2023-05-01 10:32:43 -07:00
decorator.py logging_util: Remove dependence on get_current_request. 2023-07-11 22:23:47 -07:00
filters.py error_notify: Remove custom email error reporting handler. 2023-07-20 11:00:09 -07:00
forms.py realm: Differentiate reserved realms from in-use realms. 2023-09-25 12:48:14 -07:00
logging_handlers.py error_notify: Remove custom email error reporting handler. 2023-07-20 11:00:09 -07:00
middleware.py views: Add a /health healthcheck endpoint. 2023-09-20 09:53:59 -07:00
models.py models: Add more comments documenting AbstractMessage. 2023-09-27 11:49:04 -07:00
signals.py demo-orgs: Create dev environment demo organization without email. 2023-08-31 15:02:16 -07:00