% end
broadcast_stanza(Host, Node, _NodeId, _Type, NodeOptions, SubsByDepth, NotifyType, BaseStanza) ->
- NotificationType = get_option(NodeOptions, notification_type),
+ NotificationType = get_option(NodeOptions, notification_type, headline),
BroadcastAll = get_option(NodeOptions, broadcast_all_resources), %% XXX this is not standard, but usefull
From = service_jid(Host),
Stanza = case NotificationType of
% end
broadcast_stanza(Host, Node, _NodeId, _Type, NodeOptions, SubsByDepth, NotifyType, BaseStanza) ->
- NotificationType = get_option(NodeOptions, notification_type),
+ NotificationType = get_option(NodeOptions, notification_type, headline),
BroadcastAll = get_option(NodeOptions, broadcast_all_resources), %% XXX this is not standard, but usefull
From = service_jid(Host),
Stanza = case NotificationType of
---- mod_pubsub.erl 2009-10-06 17:17:31.000000000 +0200
-+++ mod_pubsub_odbc.erl 2009-10-06 17:18:05.000000000 +0200
+--- mod_pubsub.erl 2009-10-12 11:03:50.000000000 +0200
++++ mod_pubsub_odbc.erl 2009-10-12 11:04:09.000000000 +0200
@@ -45,7 +45,7 @@
%%% TODO
%%% plugin: generate Reply (do not use broadcast atom anymore)