From 04fdf69737c8219f052a5a538c94b8e955058b2c Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Mon, 21 Nov 2016 14:21:34 +0300 Subject: [PATCH] Fix non-empty disco-nodes processing --- src/mod_delegation.erl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mod_delegation.erl b/src/mod_delegation.erl index 571817963..2cf9525fc 100644 --- a/src/mod_delegation.erl +++ b/src/mod_delegation.erl @@ -344,7 +344,9 @@ disco_identity(Acc, _From, To, <<"">>, _Lang, Type) -> empty when Identities /= [] -> {result, Identities}; {result, Ids} -> {result, Ids ++ Identities}; Acc -> Acc - end. + end; +disco_identity(Acc, _From, _To, _Node, _Lang, _Type) -> + Acc. my_features(ejabberd_local) -> [?NS_DELEGATION]; my_features(ejabberd_sm) -> []. -- 2.40.0