From: Evgeniy Khramtsov Date: Mon, 21 Nov 2016 11:21:34 +0000 (+0300) Subject: Fix non-empty disco-nodes processing X-Git-Tag: 16.12-beta1~34 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=04fdf69737c8219f052a5a538c94b8e955058b2c;p=ejabberd Fix non-empty disco-nodes processing --- 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) -> [].