From b527fe4b1113208edfb1a68c25ad233f03620fcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 14 Nov 2021 10:03:10 +0100 Subject: [PATCH] Add missing lines value in command to synchronize with WeeChat --- qweechat/network.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qweechat/network.py b/qweechat/network.py index 28ef673..306333b 100644 --- a/qweechat/network.py +++ b/qweechat/network.py @@ -184,7 +184,8 @@ class Network(QtCore.QObject): def sync_weechat(self): """Synchronize with WeeChat.""" - self.send_to_weechat('\n'.join(_PROTO_SYNC_CMDS)) + self.send_to_weechat('\n'.join(_PROTO_SYNC_CMDS) + % {'lines': self._lines}) def status_label(self, status): """Return the label for a given status."""