mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
message_cache: Rename update_to_dict_cache to update_message_cache.
This better describes what it does.
This commit is contained in:
committed by
Tim Abbott
parent
737a751f5c
commit
b3e8878252
@@ -10,7 +10,7 @@ from zerver.lib.message import (
|
||||
should_change_visibility_policy,
|
||||
visibility_policy_for_participation,
|
||||
)
|
||||
from zerver.lib.message_cache import update_to_dict_cache
|
||||
from zerver.lib.message_cache import update_message_cache
|
||||
from zerver.lib.stream_subscription import subscriber_ids_with_stream_history_access
|
||||
from zerver.lib.streams import access_stream_by_id
|
||||
from zerver.models import Message, Reaction, Recipient, Stream, UserMessage, UserProfile
|
||||
@@ -41,7 +41,7 @@ def notify_reaction_update(
|
||||
}
|
||||
|
||||
# Update the cached message since new reaction is added.
|
||||
update_to_dict_cache([message])
|
||||
update_message_cache([message])
|
||||
|
||||
# Recipients for message update events, including reactions, are
|
||||
# everyone who got the original message, plus subscribers of
|
||||
|
||||
Reference in New Issue
Block a user