mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Fix non-empty disco-nodes processing
This commit is contained in:
parent
e57de02e0f
commit
04fdf69737
@ -344,7 +344,9 @@ disco_identity(Acc, _From, To, <<"">>, _Lang, Type) ->
|
|||||||
empty when Identities /= [] -> {result, Identities};
|
empty when Identities /= [] -> {result, Identities};
|
||||||
{result, Ids} -> {result, Ids ++ Identities};
|
{result, Ids} -> {result, Ids ++ Identities};
|
||||||
Acc -> Acc
|
Acc -> Acc
|
||||||
end.
|
end;
|
||||||
|
disco_identity(Acc, _From, _To, _Node, _Lang, _Type) ->
|
||||||
|
Acc.
|
||||||
|
|
||||||
my_features(ejabberd_local) -> [?NS_DELEGATION];
|
my_features(ejabberd_local) -> [?NS_DELEGATION];
|
||||||
my_features(ejabberd_sm) -> [].
|
my_features(ejabberd_sm) -> [].
|
||||||
|
Loading…
Reference in New Issue
Block a user