diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2009-10-12 09:05:26 +0000 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2009-10-12 09:05:26 +0000 |
commit | 25523371fcf4d8c5ea5bf04222915f3369bf79c4 (patch) | |
tree | 8cd9e3332ad7e5e0dbbb54445a29266cc6ab8d04 /src/mod_pubsub/mod_pubsub.erl | |
parent | Fix regression for authorize node subscription (thanks to Brian Cully)(EJAB-1... (diff) |
Default pubsub messages to headline if nothing is configured (thanks to Brian Cully) (EJAB-1061)
SVN Revision: 2654
Diffstat (limited to 'src/mod_pubsub/mod_pubsub.erl')
-rw-r--r-- | src/mod_pubsub/mod_pubsub.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_pubsub/mod_pubsub.erl b/src/mod_pubsub/mod_pubsub.erl index c7815c4d5..d68edcaa2 100644 --- a/src/mod_pubsub/mod_pubsub.erl +++ b/src/mod_pubsub/mod_pubsub.erl @@ -3038,7 +3038,7 @@ get_options_for_subs(NodeID, Subs) -> % 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 |