diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2016-11-21 14:21:34 +0300 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2016-11-21 14:21:34 +0300 |
commit | 04fdf69737c8219f052a5a538c94b8e955058b2c (patch) | |
tree | 0d25ad5d1f0c39cd139b0057abc9d3747a527c79 /src | |
parent | Fix s2s test (diff) |
Fix non-empty disco-nodes processing
Diffstat (limited to 'src')
-rw-r--r-- | src/mod_delegation.erl | 4 |
1 files changed, 3 insertions, 1 deletions
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) -> []. |