]> jfr.im git - irc/weechat/qweechat.git/commitdiff
Add missing lines value in command to synchronize with WeeChat
authorSébastien Helleu <redacted>
Sun, 14 Nov 2021 09:03:10 +0000 (10:03 +0100)
committerSébastien Helleu <redacted>
Sun, 14 Nov 2021 09:03:10 +0000 (10:03 +0100)
qweechat/network.py

index 28ef673a6a3f5686272cadaa8800efee47ee9541..306333bf5c1e757d9ba8bb81a262a568cbd67b32 100644 (file)
@@ -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."""