trigger peer status after going online
This commit is contained in:
parent
c842c3ae90
commit
057c44df08
1 changed files with 3 additions and 1 deletions
|
@ -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, {
|
||||
|
|
Loading…
Reference in a new issue