#NEWLINE# def start_notifications( self , from_jid ) : #NEWLINE# #INDENT# jid_ref = api . actor_lookup_im ( api . ROOT , from_jid . base ( ) ) #NEWLINE# if ( not jid_ref ) : #NEWLINE# #INDENT# raise exception . ValidationError ( 'You are not signed in.' ) #NEWLINE# #UNINDENT# actor_ref = api . settings_change_notify ( api . ROOT , jid_ref . nick , im = True ) #NEWLINE# self . send_message ( [ jid_ref ] , HELP_START_NOTIFICATIONS )