summaryrefslogtreecommitdiff
path: root/src/mod_client_state.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_client_state.erl')
-rw-r--r--src/mod_client_state.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_client_state.erl b/src/mod_client_state.erl
index 651f15c2..fe66f34e 100644
--- a/src/mod_client_state.erl
+++ b/src/mod_client_state.erl
@@ -66,7 +66,7 @@ start(Host, Opts) ->
QueuePEP =
gen_mod:get_opt(queue_pep, Opts,
fun(B) when is_boolean(B) -> B end,
- false),
+ true),
if QueuePresence; QueueChatStates; QueuePEP ->
ejabberd_hooks:add(c2s_post_auth_features, Host, ?MODULE,
add_stream_feature, 50),
@@ -106,7 +106,7 @@ stop(Host) ->
QueuePEP =
gen_mod:get_module_opt(Host, ?MODULE, queue_pep,
fun(B) when is_boolean(B) -> B end,
- false),
+ true),
if QueuePresence; QueueChatStates; QueuePEP ->
ejabberd_hooks:delete(c2s_post_auth_features, Host, ?MODULE,
add_stream_feature, 50),