From c279b53abf3d980400564c4e3104bf841214222b Mon Sep 17 00:00:00 2001 From: Luca Date: Tue, 11 Mar 2025 18:25:32 +0100 Subject: [PATCH] fix(messaging/sevenio): use sender + timestamp as incoming message id --- shiftregister/messaging/backends/sevenio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shiftregister/messaging/backends/sevenio.py b/shiftregister/messaging/backends/sevenio.py index 68b6520..e6dc1b4 100644 --- a/shiftregister/messaging/backends/sevenio.py +++ b/shiftregister/messaging/backends/sevenio.py @@ -41,7 +41,7 @@ class Receiver(BaseReceiver): return yield Message( - data["id"], + f"{data['sender']}-{data['time']}", recipient=data["system"], sender=data["sender"], text=data["text"],