mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-22 14:21:55 -06:00
add new m.set_displayname
, m.set_avatar_url
, and m.3pid_changes
capabilities
This commit is contained in:
parent
9897959731
commit
bb4ad5a10b
|
@ -44,6 +44,15 @@ func GetCapabilities(rsAPI roomserverAPI.ClientRoomserverAPI) util.JSONResponse
|
||||||
"default": rsAPI.DefaultRoomVersion(),
|
"default": rsAPI.DefaultRoomVersion(),
|
||||||
"available": versionsMap,
|
"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,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue