#NEWLINE# def new_message( self , notice ) : #NEWLINE# #INDENT# if ( notice . action != 'insert' ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# v = notice . new_value #NEWLINE# if ( v [ 'tid' ] not in self . subscribers ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# ( p , symkey , tmppub ) = self . subscribers [ v [ 'tid' ] ] #NEWLINE# entry = self . prepare_entry ( symkey , tmppub , v ) #NEWLINE# p . sendEvent ( base64 . b64encode ( entry ) )