serverChanged channel
This commit is contained in:
parent
754a3db1b9
commit
b39d86d020
1 changed files with 3 additions and 0 deletions
|
@ -172,6 +172,9 @@ class UiWebsocket(object):
|
||||||
if len(params) > 1 and params[1]: # Extra data
|
if len(params) > 1 and params[1]: # Extra data
|
||||||
site_info.update(params[1])
|
site_info.update(params[1])
|
||||||
self.cmd("setSiteInfo", site_info)
|
self.cmd("setSiteInfo", site_info)
|
||||||
|
elif channel == "serverChanged":
|
||||||
|
server_info = self.formatServerInfo()
|
||||||
|
self.cmd("setServerInfo", server_info)
|
||||||
|
|
||||||
# Send response to client (to = message.id)
|
# Send response to client (to = message.id)
|
||||||
def response(self, to, result):
|
def response(self, to, result):
|
||||||
|
|
Loading…
Reference in a new issue