path: root/data
diff options
authorEmmanuel Gil Peyrot <>2016-10-08 22:40:03 +0100
committermathieui <>2016-10-09 17:06:33 +0200
commitf8d5fa9b1cc85f1565d475ceedb6ced9652351b7 (patch)
treed13449e298aeae543c28d6968446b361622987cc /data
parent4ad066b39bd31f1525570bd4ec70c35380e7c15d (diff)
Remove the resource option from the configuration.
It’s considered bad practice nowadays to force a specific resource, it can lead to presence leaks or reconnection loops so should be avoided. Moreover this was already possible in the jid option, by setting it to user@domain/resource, setting it would append it a second time in that case.
Diffstat (limited to 'data')
1 files changed, 1 insertions, 7 deletions
diff --git a/data/default_config.cfg b/data/default_config.cfg
index dd98e493..d8ec3705 100644
--- a/data/default_config.cfg
+++ b/data/default_config.cfg
@@ -11,7 +11,7 @@
# account on a server. This is optional and useful only for some features,
# like room administration, nickname registration.
# The 'server' option will be ignored if you specify a JID (Jabber identifier)
-# It should be in the form nickname@server.tld
+# It should be in the form nickname@server.tld or nickname@server.tld/resource
jid =
# A password is needed only if you specified a jid. It will be ignored otherwise
@@ -49,12 +49,6 @@ highlight_on =
# Colon-separated list of plugins to load on startup
plugins_autoload =
-# the resource you will use
-# If it's empty, your resource will be chosen (most likely randomly) by the server
-# It is not recommended to use a resource that is easy to guess, because it can lead
-# to presence leak.
-resource =
# The server used for anonymous connection.
# Make sure the server you're using accepts anonymous authentication
#server =