mirror of
https://github.com/home-assistant/core.git
synced 2026-08-24 02:24:51 -05:00
Fix Signal Messenger self notifications (#179351)
This commit is contained in:
@@ -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", []):
|
||||
|
||||
Reference in New Issue
Block a user