mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-24 17:29:28 +01:00
Do not forget sending initial presence in XEP-0013 test
This commit is contained in:
parent
17be70339c
commit
8e6adb4b3c
@ -1496,6 +1496,10 @@ flex_offline_slave(Config) ->
|
||||
when (J == MyBareJID) and (P == Peer_s) ->
|
||||
N
|
||||
end, DiscoItems)),
|
||||
%% Since headers are received we can send initial presence without a risk
|
||||
%% of getting offline messages flood
|
||||
send(Config, #presence{}),
|
||||
?recv1(#presence{from = MyJID}),
|
||||
%% Check full fetch
|
||||
I0 = send(Config, #iq{type = get, sub_els = [#offline{fetch = true}]}),
|
||||
lists:foreach(
|
||||
|
Loading…
Reference in New Issue
Block a user