if fromjid getStripped in GROUPCHATS if GCHCFGS fromjid getStripped au

1
2
3
4
5
6
if fromjid.getStripped() in GROUPCHATS:
if GCHCFGS[fromjid.getStripped()]['autoaway']==1:
if LAST['gch'][fromjid.getStripped()]['thr']:
LAST['gch'][fromjid.getStripped()]['thr'].cancel()
LAST['gch'][fromjid.getStripped()]['thr']=threading.Timer(600,change_bot_status,(fromjid.getStripped(), u'я ничего здесь не делаю с '+time.strftime('%d.%m.%Y@%H:%M:%S GMT', time.gmtime()), 'away',1))
LAST['gch'][fromjid.getStripped()]['thr'].start()