mirror of
https://github.com/processone/ejabberd
synced 2025-10-05 19:42:11 +02:00
Disable use of multi-subscribe and subscription-option on standard plugins
This commit is contained in:
parent
6357ea1d5d
commit
1a32f20c07
5 changed files with 49 additions and 38 deletions
|
@ -839,15 +839,6 @@ pubsub(Config) ->
|
|||
[#pubsub_affiliation{node = Node, type = owner}]}]} =
|
||||
send_recv(Config, #iq{type = get, to = pubsub_jid(Config),
|
||||
sub_els = [#pubsub{affiliations = []}]}),
|
||||
%% Get subscription options
|
||||
true = lists:member(?PUBSUB("subscription-options"), Features),
|
||||
#iq{type = result, sub_els = [#pubsub{options = #pubsub_options{
|
||||
node = Node}}]} =
|
||||
send_recv(Config,
|
||||
#iq{type = get, to = pubsub_jid(Config),
|
||||
sub_els = [#pubsub{options = #pubsub_options{
|
||||
node = Node,
|
||||
jid = my_jid(Config)}}]}),
|
||||
%% Fetching published items from node "presence"
|
||||
#iq{type = result,
|
||||
sub_els = [#pubsub{items = #pubsub_items{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue