diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2015-08-05 00:05:11 +0200 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2015-08-05 00:05:11 +0200 |
commit | c0497d46afcb6e3dd7b744e364e756e0b7a36f7e (patch) | |
tree | 21e7fa791aa79088d353856e64fb0d4b72aee2d1 /src/mod_client_state.erl | |
parent | Rename muc_filter_packet to muc_filter_message (diff) |
mod_client_state: Throttle stanzas by default
Enable the mod_client_state options "drop_chat_states" and
"queue_presence" by default. These features are now well-tested in
practice.
Diffstat (limited to 'src/mod_client_state.erl')
-rw-r--r-- | src/mod_client_state.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_client_state.erl b/src/mod_client_state.erl index bb0d962f..eb40db10 100644 --- a/src/mod_client_state.erl +++ b/src/mod_client_state.erl @@ -42,11 +42,11 @@ start(Host, Opts) -> QueuePresence = gen_mod:get_opt(queue_presence, Opts, fun(true) -> true; (false) -> false - end, false), + end, true), DropChatStates = gen_mod:get_opt(drop_chat_states, Opts, fun(true) -> true; (false) -> false - end, false), + end, true), if QueuePresence; DropChatStates -> ejabberd_hooks:add(c2s_post_auth_features, Host, ?MODULE, add_stream_feature, 50), |