diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2017-11-15 11:16:15 +0100 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2017-11-15 11:16:15 +0100 |
commit | e706e24b926dd2bc25cfb7b3b336f9fb9ab7d8f9 (patch) | |
tree | 4d6be9b0cd6a7a0a1b9916259e8d321db2500ac9 /src/mod_pubsub.erl | |
parent | Improve ACME description (diff) |
Cleanup pubsub subscriptions quering, fix pep case
Diffstat (limited to 'src/mod_pubsub.erl')
-rw-r--r-- | src/mod_pubsub.erl | 4 |
1 files changed, 0 insertions, 4 deletions
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 <<>> -> |