25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-10 16:58:46 +01: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>
* 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
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.
get_local_identity(_Acc, _From, _To, [], _Lang) ->
[{xmlelement, "identity",
[{"category", "server"},
{"type", "im"},
{"name", "ejabberd"}], []}];
get_local_identity(Acc, _From, _To, [], _Lang) ->
Acc ++ [{xmlelement, "identity",
[{"category", "server"},
{"type", "im"},
{"name", "ejabberd"}], []}];
get_local_identity(Acc, _From, _To, _Node, _Lang) ->
Acc.