immediately set profile name on public chat servers when you update it

This commit is contained in:
Ryan Tharp 2019-11-21 20:36:57 -08:00
parent 065f2ca47f
commit 8f52080eed

View file

@ -904,6 +904,12 @@
displayName: newName,
avatar: newAvatarPath,
});
// inform all your registered public servers
// could put load on all the servers
// if they just keep changing their names without sending messages
// so we could disable this here
// or least it enable for the quickest response
window.lokiPublicChatAPI.setProfileName(newName);
},
});
}