1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-03 01:39:35 +02:00

Convert allow_private_message MUC room option to allowpm (#3736)

This commit is contained in:
Badlop 2023-08-08 13:28:02 +02:00
parent 66df953da1
commit 2bd61abd71
7 changed files with 70 additions and 30 deletions

View file

@ -1242,7 +1242,7 @@ config_private_messages_master(Config) ->
[104] = set_config(Config, [{allow_private_messages_from_visitors, nobody}]),
wait_for_slave(Config),
[104] = set_config(Config, [{allow_private_messages_from_visitors, anyone},
{allow_private_messages, false}]),
{allowpm, none}]),
ct:comment("Fail trying to send a private message"),
send(Config, #message{to = PeerNickJID, type = chat}),
#message{from = PeerNickJID, type = error} = ErrMsg = recv_message(Config),