]> granicus.if.org Git - ejabberd/commitdiff
Fix typo from 9c5427e0c
authorChristophe Romain <christophe.romain@process-one.net>
Fri, 11 Aug 2017 15:54:53 +0000 (17:54 +0200)
committerChristophe Romain <christophe.romain@process-one.net>
Fri, 11 Aug 2017 15:54:53 +0000 (17:54 +0200)
src/mod_pubsub.erl

index ae43627ff0b214e4cc360a304b937e91be1f1364..a67ae5bfc615eeadfc3d958d6c95492ce80044b2 100644 (file)
@@ -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.