mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 21:35:10 +00:00
[ADD/WIP] XMPP->Matrix avatar, start bridging bans
I still hate XEP-0084.
This commit is contained in:
parent
a3bef5c0c1
commit
1f658ece76
9 changed files with 587 additions and 27 deletions
|
|
@ -68,9 +68,10 @@ RouteHead(RouteRoomAck, arr, argp)
|
|||
}
|
||||
|
||||
muc = ParseeDecodeLocalMUC(args->data->config, room);
|
||||
if (!ParseeManageBan(args->data, muc, NULL))
|
||||
if (ParseeManageBan(args->data, muc, NULL))
|
||||
{
|
||||
HttpResponseStatus(args->ctx, HTTP_METHOD_NOT_ALLOWED);
|
||||
Log(LOG_INFO, "Nofly...");
|
||||
response = MatrixCreateError(
|
||||
"M_NOT_FOUND",
|
||||
"XMPP MUC is banned from being accessed on this instance"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue