{fast_tls, ".*", {git, "https://github.com/processone/fast_tls", {tag, "1.1.1"}}},
{stringprep, ".*", {git, "https://github.com/processone/stringprep", {tag, "1.0.16"}}},
{fast_xml, ".*", {git, "https://github.com/processone/fast_xml", "7fd02f3a2f"}},
- {xmpp, ".*", {git, "https://github.com/processone/xmpp", "b704d84"}},
+ {xmpp, ".*", {git, "https://github.com/processone/xmpp", "31413d7"}},
{fast_yaml, ".*", {git, "https://github.com/processone/fast_yaml", {tag, "1.0.19"}}},
{yconf, ".*", {git, "https://github.com/processone/yconf", "dfeaa7e"}},
{jiffy, ".*", {git, "https://github.com/davisp/jiffy", {tag, "0.14.8"}}},
binary(), [binary()]) -> [xdata_field()].
get_configure_xfields(_Type, Options, Lang, Groups) ->
pubsub_node_config:encode(
- lists:map(
+ lists:filtermap(
fun({roster_groups_allowed, Value}) ->
- {roster_groups_allowed, Value, Groups};
- (Opt) ->
- Opt
+ {true, {roster_groups_allowed, Value, Groups}};
+ ({sql, _}) -> false;
+ ({rsm, _}) -> false;
+ (_) -> true
end, Options),
Lang).
{roomnick, PeerNick}] = lists:sort(muc_request:decode(Fs)),
ct:comment("Approving voice request"),
ApprovalFs = muc_request:encode([{jid, PeerJID}, {role, participant},
- {nick, PeerNick}, {request_allow, true}]),
+ {roomnick, PeerNick}, {request_allow, true}]),
send(Config, #message{to = Room, sub_els = [#xdata{type = submit,
fields = ApprovalFs}]}),
#muc_user{
#message{from = Room, type = normal} = recv_message(Config),
ct:comment("Deny voice request at first"),
Fs = muc_request:encode([{jid, PeerJID}, {role, participant},
- {nick, PeerNick}, {request_allow, false}]),
+ {roomnick, PeerNick}, {request_allow, false}]),
send(Config, #message{to = Room, sub_els = [#xdata{type = submit,
fields = Fs}]}),
put_event(Config, denied),