'Delete the message thread\'s parent reference.'

def del_parent_thread(self):

    thread = self.xml.find(('{%s}thread' % self.namespace))
    if ((thread is not None) and ('parent' in thread.attrib)):
        del thread.attrib['parent']
