Added clientStatus API call
This commit is contained in:
parent
69267fb6fe
commit
5dcfa962dd
|
@ -4647,6 +4647,8 @@ class MySimpleXMLRPCRequestHandler(SimpleXMLRPCRequestHandler):
|
||||||
shared.UISignalQueue.put(('rerenderInboxFromLabels', ''))
|
shared.UISignalQueue.put(('rerenderInboxFromLabels', ''))
|
||||||
shared.UISignalQueue.put(('rerenderSubscriptions', ''))
|
shared.UISignalQueue.put(('rerenderSubscriptions', ''))
|
||||||
return 'Deleted subscription if it existed.'
|
return 'Deleted subscription if it existed.'
|
||||||
|
elif method == 'clientStatus':
|
||||||
|
return '{ "networkConnections" : "%s" }' % str(len(shared.connectedHostsList))
|
||||||
else:
|
else:
|
||||||
return 'Invalid Method: %s' % method
|
return 'Invalid Method: %s' % method
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user