Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2017-08-11 18:54:53 +0300
committerChristophe Romain <christophe.romain@process-one.net>2017-08-11 18:54:53 +0300
commitfd7bf7fed355a0aa2942ccb3150fb8c86e505055 (patch)
tree30ecce367af1915686bb59b1a7125c862b12ce9e /src
parent7a90cda8ffa3dcf1073b39e02cc4d69da3669ef0 (diff)
Fix typo from 9c5427e0c
Diffstat (limited to 'src')
-rw-r--r--src/mod_pubsub.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mod_pubsub.erl b/src/mod_pubsub.erl
index ae43627ff..a67ae5bfc 100644
--- a/src/mod_pubsub.erl
+++ b/src/mod_pubsub.erl
@@ -572,8 +572,7 @@ caps_add(_From, _To, _Feature) ->
ok.
-spec caps_update(jid(), jid(), [binary()]) -> ok.
-caps_update(#jid{lserver = S1} = From, #jid{lserver = S2} = To, _Features)
- when S1 =/= S2 ->
+caps_update(From, To, _Features) ->
send_last_pep(To, From).
-spec presence_probe(jid(), jid(), pid()) -> ok.