diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2017-08-11 17:54:53 +0200 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2017-08-11 17:54:53 +0200 |
commit | fd7bf7fed355a0aa2942ccb3150fb8c86e505055 (patch) | |
tree | 30ecce367af1915686bb59b1a7125c862b12ce9e | |
parent | Process on_user_offline only from valid sessions (diff) |
Fix typo from 9c5427e0c
-rw-r--r-- | src/mod_pubsub.erl | 3 |
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. |