From e706e24b926dd2bc25cfb7b3b336f9fb9ab7d8f9 Mon Sep 17 00:00:00 2001 From: Christophe Romain Date: Wed, 15 Nov 2017 11:16:15 +0100 Subject: Cleanup pubsub subscriptions quering, fix pep case --- src/mod_pubsub.erl | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/mod_pubsub.erl') diff --git a/src/mod_pubsub.erl b/src/mod_pubsub.erl index e065bdaae..c7e433d46 100644 --- a/src/mod_pubsub.erl +++ b/src/mod_pubsub.erl @@ -2333,8 +2333,6 @@ get_subscriptions(Host, Node, JID, Plugins) when is_list(Plugins) -> case Result of {ok, Subs} -> Entities = lists:flatmap(fun - ({_, none}) -> - []; ({#pubsub_node{nodeid = {_, SubsNode}}, Sub}) -> case Node of <<>> -> @@ -2344,8 +2342,6 @@ get_subscriptions(Host, Node, JID, Plugins) when is_list(Plugins) -> _ -> [] end; - ({_, none, _}) -> - []; ({#pubsub_node{nodeid = {_, SubsNode}}, Sub, SubId, SubJID}) -> case Node of <<>> -> -- cgit v1.2.3