]> granicus.if.org Git - ejabberd/commitdiff
Add missing '/' for jid matching from commit e300f80
authorChristophe Romain <christophe.romain@process-one.net>
Wed, 6 Jul 2016 08:06:17 +0000 (10:06 +0200)
committerChristophe Romain <christophe.romain@process-one.net>
Wed, 6 Jul 2016 08:06:17 +0000 (10:06 +0200)
src/node_flat_sql.erl

index 8cd8e4ccd2b08e6fc1c5389239b49cfab3badafb..7c94c771decfbd10bd3500317634373c6d34e2fc 100644 (file)
@@ -416,7 +416,7 @@ get_entity_subscriptions_for_send_last(Host, Owner) ->
     H = encode_host(Host),
     SJ = encode_jid(SubKey),
     GJ = encode_jid(GenKey),
-    GJLike = <<(encode_jid_like(GenKey))/binary, "%">>,
+    GJLike = <<(encode_jid_like(GenKey))/binary, "/%">>,
     Query =
         case SubKey of
             GenKey ->