25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-26 16:26:24 +01:00

* src/mod_pubsub/mod_pubsub.erl: Quickfix compilation errors.

SVN Revision: 2008
This commit is contained in:
Badlop 2009-04-08 18:58:11 +00:00
parent e34d6e3678
commit d13be09524
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
2009-04-08 Badlop <badlop@process-one.net> 2009-04-08 Badlop <badlop@process-one.net>
* src/mod_pubsub/mod_pubsub.erl: Quickfix compilation errors.
* src/mod_irc/mod_irc_connection.erl: Fix compilation warnings. * src/mod_irc/mod_irc_connection.erl: Fix compilation warnings.
2009-04-01 Badlop <badlop@process-one.net> 2009-04-01 Badlop <badlop@process-one.net>

View File

@ -540,7 +540,7 @@ handle_cast({presence, User, Server, Resources, JID}, State) ->
_ -> _ ->
ok ok
end end
end, tree_action(Host, get_nodes, [Owner, JID])) end, tree_action(ServerHost, get_nodes, [Owner, JID])),
{noreply, State}; {noreply, State};
handle_cast({remove_user, LUser, LServer}, State) -> handle_cast({remove_user, LUser, LServer}, State) ->
@ -2542,7 +2542,7 @@ max_items(Options) ->
?LISTMXFIELD(Label, "pubsub#" ++ atom_to_list(Var), ?LISTMXFIELD(Label, "pubsub#" ++ atom_to_list(Var),
get_option(Options, Var), Opts)). get_option(Options, Var), Opts)).
get_configure_xfields(_Type, Options, Lang, _Owners, Groups) -> get_configure_xfields(Type, Options, Lang, _Owners, Groups) ->
[?XFIELD("hidden", "", "FORM_TYPE", ?NS_PUBSUB_NODE_CONFIG_s), [?XFIELD("hidden", "", "FORM_TYPE", ?NS_PUBSUB_NODE_CONFIG_s),
?BOOL_CONFIG_FIELD("Deliver payloads with event notifications", deliver_payloads), ?BOOL_CONFIG_FIELD("Deliver payloads with event notifications", deliver_payloads),
?BOOL_CONFIG_FIELD("Deliver event notifications", deliver_notifications), ?BOOL_CONFIG_FIELD("Deliver event notifications", deliver_notifications),