From cf43a36bc63eea6ded716e1103b7aef2e3d1f29b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Tue, 26 May 2020 14:41:13 +0200 Subject: plugins/marquee: Fix LMC, use origin id MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- plugins/marquee.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/marquee.py b/plugins/marquee.py index 14219161..9319a7f6 100644 --- a/plugins/marquee.py +++ b/plugins/marquee.py @@ -85,6 +85,6 @@ class Plugin(BasePlugin): message.send() event = self.api.create_delayed_event( self.config.get("refresh"), self.delayed_event, jid, body, - message["id"], step + 1, duration + self.config.get("refresh"), + msg_id, step + 1, duration + self.config.get("refresh"), is_muctab) self.api.add_timed_event(event) -- cgit v1.2.3