remove of threads work, so use it for fakes and report them to admins

This commit is contained in:
Romain Bignon 2010-10-15 16:49:53 +02:00
commit 3a1833a2f4
3 changed files with 16 additions and 22 deletions

View file

@ -80,6 +80,10 @@ class ContactItem:
tag = self.__get_element('resume')
return tag.getElementsByTagName('b')[0].firstChild.data.strip()
def get_suppr_id(self):
tag = self.__get_element('remove')
return tag.getElementsByTagName('input')[0].getAttribute('id').split('_')[-1]
LASTMSG_RE = re.compile('il y a (\d+) (\w+)')
def get_lastmsg_date(self):
tag = self.__get_element('resume')