mirror of https://github.com/zulip/zulip.git
Correctly construct tuple
(imported from commit f85ae7b0e4c335548cbe7254e5d820ced17a50a9)
This commit is contained in:
parent
c5035dade0
commit
0ca46d5abe
|
@ -651,7 +651,7 @@ def send_message_backend(request, user_profile, sender, client_name=None):
|
|||
try:
|
||||
recipient_profile_ids.add(UserProfile.objects.get(user__email=recipient).id)
|
||||
except UserProfile.DoesNotExist:
|
||||
return json_error("Invalid email '%s'" % (recipient))
|
||||
return json_error("Invalid email '%s'" % (recipient,))
|
||||
if len(recipient_profile_ids) > 1:
|
||||
# Make sure the sender is included in the huddle
|
||||
recipient_profile_ids.add(sender.id)
|
||||
|
|
Loading…
Reference in New Issue