mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 15:05:11 +00:00
[ADD] MUC whitelists, part II
This commit is contained in:
parent
af2d08a431
commit
0b00a665bf
5 changed files with 48 additions and 3 deletions
|
|
@ -67,7 +67,8 @@ RouteHead(RouteRoomAck, arr, argp)
|
|||
}
|
||||
|
||||
muc = ParseeDecodeLocalMUC(args->data->config, room);
|
||||
if (ParseeManageBan(args->data, muc, NULL))
|
||||
if (ParseeManageBan(args->data, muc, NULL) ||
|
||||
ParseeIsMUCWhitelisted(args->data, muc))
|
||||
{
|
||||
HttpResponseStatus(args->ctx, HTTP_METHOD_NOT_ALLOWED);
|
||||
response = MatrixCreateError(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue