Merge pull request #24144 from batonac/patch-3

This commit is contained in:
Suraj Shetty 2024-01-08 17:48:21 +05:30 committed by GitHub
commit f0e8fedb53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -366,7 +366,7 @@ def get_context(context):
# For sending messages to specified role
if recipient.receiver_by_role:
receiver_list += get_info_based_on_role(recipient.receiver_by_role, "mobile_no")
receiver_list += get_info_based_on_role(recipient.receiver_by_role, "mobile_no", ignore_permissions=True)
return receiver_list