Fix Signal Messenger self notifications (#179351)

This commit is contained in:
Jakub Brož
2026-08-18 23:26:49 +02:00
committed by GitHub
parent 850886c072
commit f65d87f4fb
2 changed files with 2 additions and 0 deletions
@@ -120,6 +120,7 @@ class SignalNotificationService(BaseNotificationService):
self._signal_cli_rest_api.send_message(
message,
recipients,
notify_self=True,
filenames=filenames,
attachments_as_bytes=attachments_as_bytes,
text_mode="normal" if data is None else data.get(ATTR_TEXTMODE),
@@ -452,6 +452,7 @@ def assert_sending_requests(
assert body_request["message"] == MESSAGE
assert body_request["number"] == NUMBER_FROM
assert body_request["recipients"] == (recipients or NUMBERS_TO)
assert body_request["notify_self"] is True
assert len(body_request.get("base64_attachments", [])) == attachments_num
for attachment in body_request.get("base64_attachments", []):