mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
* src/mod_pubsub/mod_pubsub.erl: Bugfix: don't report the Jabber
server as a pubsub service. SVN Revision: 1019
This commit is contained in:
parent
f8c4e86977
commit
1724ee2b15
@ -1,3 +1,8 @@
|
||||
2007-12-04 Badlop <badlop@process-one.net>
|
||||
|
||||
* src/mod_pubsub/mod_pubsub.erl: Bugfix: don't report the Jabber
|
||||
server as a pubsub service.
|
||||
|
||||
2007-12-03 Mickael Remond <mremond@process-one.net>
|
||||
|
||||
* src/mod_muc.erl: Added option to limit the number of room a user is
|
||||
|
@ -294,15 +294,12 @@ update_database(Host) ->
|
||||
%%
|
||||
|
||||
disco_local_identity(Acc, _From, _To, [], _Lang) ->
|
||||
Acc ++ [{xmlelement, "identity", [{"category", "pubsub"}, {"type", "service"}], []},
|
||||
{xmlelement, "identity", [{"category", "pubsub"}, {"type", "pep"}], []} ];
|
||||
Acc ++ [{xmlelement, "identity", [{"category", "pubsub"}, {"type", "pep"}], []} ];
|
||||
disco_local_identity(Acc, _From, _To, _Node, _Lang) ->
|
||||
Acc.
|
||||
|
||||
disco_sm_identity(Acc, _From, _To, [], _Lang) ->
|
||||
Acc ++ [
|
||||
{xmlelement, "identity", [{"category", "pubsub"}, {"type", "service"}], []},
|
||||
{xmlelement, "identity", [{"category", "pubsub"}, {"type", "pep"}], []} ];
|
||||
Acc ++ [{xmlelement, "identity", [{"category", "pubsub"}, {"type", "pep"}], []} ];
|
||||
disco_sm_identity(Acc, From, To, Node, _Lang) ->
|
||||
LOwner = jlib:jid_tolower(jlib:jid_remove_resource(To)),
|
||||
Acc ++ case node_disco_identity(LOwner, From, Node) of
|
||||
|
Loading…
Reference in New Issue
Block a user