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:
parent
66df953da1
commit
2bd61abd71
7 changed files with 70 additions and 30 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue