Add list of client connections per user (#26)
List the result of GET /_synapse/admin/v1/whois/<user_id>.
This commit is contained in:
		| @@ -44,6 +44,14 @@ const resourceMap = { | ||||
|       return json.total_rooms; | ||||
|     }, | ||||
|   }, | ||||
|   connections: { | ||||
|     path: "/_synapse/admin/v1/whois", | ||||
|     map: c => ({ | ||||
|       ...c, | ||||
|       id: c.user_id, | ||||
|     }), | ||||
|     data: "connections", | ||||
|   }, | ||||
| }; | ||||
|  | ||||
| function filterNullValues(key, value) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 dklimpel
					dklimpel