add new m.set_displayname, m.set_avatar_url, and m.3pid_changes capabilities

This commit is contained in:
qwqtoday 2024-07-29 17:21:34 +08:00
parent 9897959731
commit bb4ad5a10b

View file

@ -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,
},
},
}