Update websocket site_info on own setting change

This commit is contained in:
shortcutme 2017-06-19 15:33:23 +02:00
parent 4088c88a56
commit d607696a75
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -583,6 +583,7 @@ class UiWebsocketPlugin(object):
return self.response(to, "You don't have permission to run this command")
self.site.settings["own"] = bool(owned)
self.site.updateWebsocket(owned=owned)
def actionSiteSetAutodownloadoptional(self, to, owned):
permissions = self.getPermissions(to)