24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-10 21:47:01 +02:00

* src/mod_disco.erl: Don't override accumulated value in

get_local_identity/5 (thanks to Magnus Henoch and Badlop)

SVN Revision: 788
This commit is contained in:
Alexey Shchepin 2007-06-22 14:15:43 +00:00
parent 56b5d113a4
commit a53efc2b05
2 changed files with 9 additions and 6 deletions

View File

@ -1,5 +1,8 @@
2007-06-22 Alexey Shchepin <alexey@sevcom.net> 2007-06-22 Alexey Shchepin <alexey@sevcom.net>
* src/mod_disco.erl: Don't override accumulated value in
get_local_identity/5 (thanks to Magnus Henoch and Badlop)
* src/web/ejabberd_web_admin.erl: Added links to server and * src/web/ejabberd_web_admin.erl: Added links to server and
virtual host homes (thanks to Badlop) virtual host homes (thanks to Badlop)

View File

@ -168,12 +168,12 @@ process_local_iq_info(From, To, #iq{type = Type, lang = Lang,
end end
end. end.
get_local_identity(_Acc, _From, _To, [], _Lang) -> get_local_identity(Acc, _From, _To, [], _Lang) ->
[{xmlelement, "identity", Acc ++ [{xmlelement, "identity",
[{"category", "server"}, [{"category", "server"},
{"type", "im"}, {"type", "im"},
{"name", "ejabberd"}], []}]; {"name", "ejabberd"}], []}];
get_local_identity(Acc, _From, _To, _Node, _Lang) -> get_local_identity(Acc, _From, _To, _Node, _Lang) ->
Acc. Acc.