--- a/rollbot.py Mon May 09 21:21:58 2016 +0800
+++ b/rollbot.py Mon May 09 21:24:39 2016 +0800
logging.basicConfig(level=args.loglevel, format='%(asctime)s %(levelname)-8s %(message)s')
rollbot = RollBot(args.jid, args.password)
+ rollbot.auto_authorize = True
+ rollbot.auto_subscribe = True
rollbot.register_plugin('xep_0030') # Service Discovery
rollbot.register_plugin('xep_0092') # Software Version
rollbot.register_plugin('xep_0199') # XMPP Ping