mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +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:
parent
56b5d113a4
commit
a53efc2b05
@ -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)
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user