mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 03:11:54 +00:00
mypy: Fix various errors caught by removing cache_with_key.
This commit is contained in:
@@ -688,7 +688,7 @@ def render_incoming_message(message, content, message_users, realm):
|
||||
return rendered_content
|
||||
|
||||
def get_recipient_user_profiles(recipient, sender_id):
|
||||
# type: (Recipient, Text) -> List[UserProfile]
|
||||
# type: (Recipient, int) -> List[UserProfile]
|
||||
if recipient.type == Recipient.PERSONAL:
|
||||
recipients = list(set([get_user_profile_by_id(recipient.type_id),
|
||||
get_user_profile_by_id(sender_id)]))
|
||||
|
||||
Reference in New Issue
Block a user