25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Fix pubsub disco after host/serverhost cleanup

This commit is contained in:
Christophe Romain 2016-03-03 14:43:56 +01:00
parent e95cf420a2
commit 10d6c330a5

View File

@ -504,7 +504,7 @@ disco_local_identity(Acc, _From, _To, _Node, _Lang) ->
-> [binary(),...]
).
disco_local_features(Acc, _From, To, <<>>, _Lang) ->
Host = To#jid.lserver,
Host = host(To#jid.lserver),
Feats = case Acc of
{result, I} -> I;
_ -> []