broadcast name changes

This commit is contained in:
j 2019-01-19 16:11:05 +05:30
parent 038b04c178
commit 1adbcc3d0b

View file

@ -97,6 +97,8 @@ def setPreferences(data):
u.save() u.save()
if change_username: if change_username:
add_record('editusername', data['username']) add_record('editusername', data['username'])
if state.nodes and state.nodes.local:
state.nodes.local._update_if_ip_changed()
if change_contact: if change_contact:
add_record('editcontact', data['contact']) add_record('editcontact', data['contact'])
if change_path: if change_path: