internal_prep_private_message: Remove redundant realm arg.

This is redundant and is taken based on recipient_user anyway.
This commit is contained in:
Mateusz Mandera
2022-09-04 15:57:56 +02:00
committed by Tim Abbott
parent 143a3350fa
commit 01d659b672
3 changed files with 4 additions and 7 deletions

View File

@@ -694,7 +694,6 @@ def send_messages_for_new_subscribers(
notifications.append(
internal_prep_private_message(
realm=realm,
sender=sender,
recipient_user=recipient_user,
content=msg,