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
1 changed files with 1 additions and 1 deletions

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;
_ -> []