Commit 2f3d50b1 authored by Philipp Hörist's avatar Philipp Hörist

Fix restoring open chatcontrols after restart

parent 5a6f03de
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment