From bb4ad5a10bc176ba05eaee2c37b2662200893801 Mon Sep 17 00:00:00 2001 From: qwqtoday Date: Mon, 29 Jul 2024 17:21:34 +0800 Subject: [PATCH] add new `m.set_displayname`, `m.set_avatar_url`, and `m.3pid_changes` capabilities --- clientapi/routing/capabilities.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/clientapi/routing/capabilities.go b/clientapi/routing/capabilities.go index 38e5bd4672..b124fa88dc 100644 --- a/clientapi/routing/capabilities.go +++ b/clientapi/routing/capabilities.go @@ -44,6 +44,15 @@ func GetCapabilities(rsAPI roomserverAPI.ClientRoomserverAPI) util.JSONResponse "default": rsAPI.DefaultRoomVersion(), "available": versionsMap, }, + "m.set_displayname": map[string]bool{ + "enabled": true, + }, + "m.set_avatar_url": map[string]bool{ + "enabled": true, + }, + "m.3pid_changes": map[string]bool{ + "enabled": true, + }, }, }