From de9f80f2cea4fe3fe3fd29155f9f78b8a8c678bd Mon Sep 17 00:00:00 2001 From: Christophe Romain Date: Wed, 6 Jul 2016 10:06:17 +0200 Subject: [PATCH] Add missing '/' for jid matching from commit e300f80 --- src/node_flat_sql.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_flat_sql.erl b/src/node_flat_sql.erl index 8cd8e4ccd..7c94c771d 100644 --- a/src/node_flat_sql.erl +++ b/src/node_flat_sql.erl @@ -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 ->