mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
pubsub disco#items bugfix (EJAB-465)
SVN Revision: 1089
This commit is contained in:
parent
d58662f706
commit
e7fda4a23f
@ -1,3 +1,7 @@
|
||||
2007-12-21 Christophe Romain <christophe.romain@process-one.net>
|
||||
|
||||
* src/mod_pubsub/mod_pubsub.erl: disco#items bugfix (EJAB-465)
|
||||
|
||||
2007-12-21 Badlop <badlop@process-one.net>
|
||||
|
||||
* src/msgs/uk.msg: Updated (thanks to Ruslan Rakhmanin)
|
||||
|
@ -300,7 +300,7 @@ disco_local_identity(Acc, _From, _To, [], _Lang) ->
|
||||
disco_local_identity(Acc, _From, _To, _Node, _Lang) ->
|
||||
Acc.
|
||||
|
||||
disco_local_features(Acc, _From, To, Node, _Lang) ->
|
||||
disco_local_features(Acc, _From, To, [], _Lang) ->
|
||||
Host = To#jid.lserver,
|
||||
Feats = case Acc of
|
||||
{result, I} -> I;
|
||||
@ -308,7 +308,9 @@ disco_local_features(Acc, _From, To, Node, _Lang) ->
|
||||
end,
|
||||
{result, Feats ++ lists:map(fun(Feature) ->
|
||||
?NS_PUBSUB++"#"++Feature
|
||||
end, features(Host, Node))}.
|
||||
end, features(Host, []))};
|
||||
disco_local_features(Acc, _From, _To, _Node, _Lang) ->
|
||||
Acc.
|
||||
|
||||
disco_local_items(Acc, _From, _To, [], _Lang) ->
|
||||
Acc;
|
||||
|
Loading…
Reference in New Issue
Block a user