mirror of
https://github.com/zulip/zulip.git
synced 2026-07-12 21:04:41 +08:00
Fix mirroring of personals.
(imported from commit 91ae9e6bb20389a708bd6b1945c898b98b96ee4a)
This commit is contained in:
parent
f817bf6144
commit
bce793005d
@ -411,7 +411,7 @@ def already_sent_mirrored_message(request):
|
||||
def same_realm_email(user_profile, email):
|
||||
try:
|
||||
domain = email.split("@", 1)[1]
|
||||
return user_profile.realm.email == domain
|
||||
return user_profile.realm.domain == domain
|
||||
except:
|
||||
return False
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user