diff options
author | Maxime Buquet <pep@bouah.net> | 2020-05-26 15:00:12 +0200 |
---|---|---|
committer | Maxime Buquet <pep@bouah.net> | 2020-05-26 15:00:12 +0200 |
commit | 0a7d47796eadba87b5be4e27811d87b8701075ab (patch) | |
tree | 27330dfa24425d89823ea7067af0d505e7a6811b /plugins/marquee.py | |
parent | 851a0e97ddc3e0dbed3ea76d6abbbb6236aa2724 (diff) | |
parent | 8465d7555c27d0e5b5670ed0172a2532052c7bac (diff) | |
download | poezio-0a7d47796eadba87b5be4e27811d87b8701075ab.tar.gz poezio-0a7d47796eadba87b5be4e27811d87b8701075ab.tar.bz2 poezio-0a7d47796eadba87b5be4e27811d87b8701075ab.tar.xz poezio-0a7d47796eadba87b5be4e27811d87b8701075ab.zip |
Merge branch 'plugins-lmc' into 'master'
Plugins LMC fixes
See merge request poezio/poezio!128
Diffstat (limited to 'plugins/marquee.py')
-rw-r--r-- | plugins/marquee.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/marquee.py b/plugins/marquee.py index 80bfbfeb..9319a7f6 100644 --- a/plugins/marquee.py +++ b/plugins/marquee.py @@ -41,7 +41,7 @@ from poezio.decorators import command_args_parser def move(text, step, spacing): - new_text = text + (" " * spacing) + new_text = text + ("\u00A0" * spacing) return new_text[-(step % len(new_text)):] + new_text[:-( step % len(new_text))] @@ -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) |