MSC4373: Server opt-out of specific EDU types
This commit is contained in:
@@ -577,3 +577,13 @@ async def state_ids(room):
|
||||
"errcode": "M_MISSING_PARAM",
|
||||
"error": "Query parameter 'event_id' was not specified"
|
||||
}), 400
|
||||
|
||||
|
||||
@server.route("/_matrix/federation/unstable/io.fsky.vel/edutypes")
|
||||
@server.route("/_matrix/federation/v1/edutypes")
|
||||
async def edutypes():
|
||||
return jsonify({
|
||||
"read_receipts": False,
|
||||
"presence": False,
|
||||
"typing": False
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user