trigger peer status after going online

This commit is contained in:
j 2016-02-13 14:57:55 +05:30
parent c842c3ae90
commit 057c44df08

View file

@ -534,7 +534,9 @@ def update_online():
'id': settings.USER_ID,
'online': state.online
})
if state.online:
for node in list(state.nodes._nodes.values()):
node.trigger_status()
if settings.OLD_USER_ID and not settings.server.get('migrated_id', False):
from . import directory
r = directory.put(settings.sk, {