25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-20 17:27:00 +01:00

Fix a test related to mod_caps

This commit is contained in:
Evgeniy Khramtsov 2017-11-10 20:58:13 +03:00
parent 54c8ae4d2b
commit 675a1e0b0f

View File

@ -920,12 +920,12 @@ presence_broadcast(Config) ->
%% 2) welcome message %% 2) welcome message
%% 3) presence broadcast %% 3) presence broadcast
IQ = #iq{type = get, IQ = #iq{type = get,
from = ServerJID, from = JID,
sub_els = [#disco_info{node = Node}]} = recv_iq(Config), sub_els = [#disco_info{node = Node}]} = recv_iq(Config),
#message{type = normal} = recv_message(Config), #message{type = normal} = recv_message(Config),
#presence{from = JID, to = JID} = recv_presence(Config), #presence{from = JID, to = JID} = recv_presence(Config),
send(Config, #iq{type = result, id = IQ#iq.id, send(Config, #iq{type = result, id = IQ#iq.id,
to = ServerJID, sub_els = [Info]}), to = JID, sub_els = [Info]}),
%% We're trying to read our feature from ejabberd database %% We're trying to read our feature from ejabberd database
%% with exponential back-off as our IQ response may be delayed. %% with exponential back-off as our IQ response may be delayed.
[Feature] = [Feature] =