mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
* src/mod_disco.erl: Minor fix
SVN Revision: 429
This commit is contained in:
parent
a8f5d4cd3d
commit
2efda30fdc
@ -1,3 +1,7 @@
|
|||||||
|
2005-10-30 Alexey Shchepin <alexey@sevcom.net>
|
||||||
|
|
||||||
|
* src/mod_disco.erl: Minor fix
|
||||||
|
|
||||||
2005-10-29 Alexey Shchepin <alexey@sevcom.net>
|
2005-10-29 Alexey Shchepin <alexey@sevcom.net>
|
||||||
|
|
||||||
* src/mod_roster_odbc.erl: Bugfix
|
* src/mod_roster_odbc.erl: Bugfix
|
||||||
|
@ -182,12 +182,14 @@ get_local_identity(Acc, _From, _To, _Node, _Lang) ->
|
|||||||
get_local_features({error, _Error} = Acc, _From, _To, _Node, _Lang) ->
|
get_local_features({error, _Error} = Acc, _From, _To, _Node, _Lang) ->
|
||||||
Acc;
|
Acc;
|
||||||
|
|
||||||
get_local_features(Acc, _From, _To, [], _Lang) ->
|
get_local_features(Acc, _From, To, [], _Lang) ->
|
||||||
Feats = case Acc of
|
Feats = case Acc of
|
||||||
{result, Features} -> Features;
|
{result, Features} -> Features;
|
||||||
empty -> []
|
empty -> []
|
||||||
end,
|
end,
|
||||||
{result, ets:tab2list(disco_features) ++ Feats};
|
Host = To#jid.lserver,
|
||||||
|
{result,
|
||||||
|
ets:select(disco_features, [{{{'_', Host}}, [], ['$_']}]) ++ Feats};
|
||||||
|
|
||||||
get_local_features(Acc, _From, _To, _Node, _Lang) ->
|
get_local_features(Acc, _From, _To, _Node, _Lang) ->
|
||||||
case Acc of
|
case Acc of
|
||||||
|
Loading…
Reference in New Issue
Block a user