Fix restoring open chatcontrols after restart

This commit is contained in:
Philipp Hörist 2018-07-27 16:16:23 +02:00
parent 5a6f03dea4
commit 2f3d50b13f
1 changed files with 6 additions and 0 deletions

View File

@ -61,6 +61,12 @@ class Roster:
app.config.set_per(
'accounts', self._account, 'roster_version', '')
app.nec.push_incoming_event(NetworkEvent(
'roster-received',
conn=self._con,
roster=self._data.copy(),
received_from_server=False))
def request_roster(self):
version = None
features = self._con.connection.Dispatcher.Stream.features