#NEWLINE# def on_connect( self ) : #NEWLINE# #INDENT# utils . reload_settings ( ) #NEWLINE# self . reset ( ) #NEWLINE# req = { #NEWLINE# #INDENT# 'username' : self . username , #NEWLINE# 'secret' : self . secret , #NEWLINE# 'room' : self . workspace , #NEWLINE# 'room_owner' : self . owner , #NEWLINE# 'client' : self . client , #NEWLINE# 'platform' : sys . platform , #NEWLINE# 'supported_encodings' : [ 'utf8' , 'base64' ] , #NEWLINE# 'version' : G . __VERSION__ , #NEWLINE# #UNINDENT# } #NEWLINE# if self . api_key : #NEWLINE# #INDENT# req [ 'api_key' ] = self . api_key #NEWLINE# #UNINDENT# self . send ( self )