comparison cagou/core/cagou_main.py @ 291:04e4cd7c9351

core: refill contact lists on resync
author Goffi <goffi@goffi.org>
date Sun, 07 Apr 2019 21:09:27 +0200
parents a7b80552ca8d
children 318a46e78ff6
comparison
equal deleted inserted replaced
290:a7b80552ca8d 291:04e4cd7c9351
465 resync = w.resync 465 resync = w.resync
466 except AttributeError: 466 except AttributeError:
467 pass 467 pass
468 else: 468 else:
469 resync() 469 resync()
470 self.contact_lists.fill()
470 471
471 def onBridgeConnected(self): 472 def onBridgeConnected(self):
472 super(Cagou, self).onBridgeConnected() 473 super(Cagou, self).onBridgeConnected()
473 self.registerSignal("otrState", iface="plugin") 474 self.registerSignal("otrState", iface="plugin")
474 self.bridge.getReady(self.onBackendReady) 475 self.bridge.getReady(self.onBackendReady)