mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
message_send: Remove unnecessary user_ids argument.
cfcbf58cd1 rightly removed the use of `user_ids` in
`render_markdown`, which in turn makes it unnecessary in
`render_incoming_message`.
Remove the unnecessary parameter from `render_incoming_message`.
This commit is contained in:
committed by
Tim Abbott
parent
74e9b086f9
commit
cd9c69cd12
@@ -884,11 +884,6 @@ class FetchLinksEmbedData(QueueProcessingWorker):
|
||||
if message.content is None:
|
||||
return
|
||||
|
||||
query = UserMessage.objects.filter(
|
||||
message=message.id,
|
||||
)
|
||||
message_user_ids = set(query.values_list("user_profile_id", flat=True))
|
||||
|
||||
# Fetch the realm whose settings we're using for rendering
|
||||
realm = Realm.objects.get(id=event["message_realm_id"])
|
||||
|
||||
@@ -896,7 +891,6 @@ class FetchLinksEmbedData(QueueProcessingWorker):
|
||||
rendering_result = render_incoming_message(
|
||||
message,
|
||||
message.content,
|
||||
message_user_ids,
|
||||
realm,
|
||||
url_embed_data=url_embed_data,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user