add tab to send queries

This commit is contained in:
Romain Bignon 2013-05-24 09:34:31 +02:00
commit 0f1ce1d4b1
6 changed files with 248 additions and 5 deletions

View file

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright(C) 2010-2011 Romain Bignon
# Copyright(C) 2010-2014 Romain Bignon
#
# This file is part of weboob.
#
@ -127,6 +127,12 @@ class AuMBackend(BaseBackend, CapMessages, CapMessagesPost, CapDating, CapChat,
e.message = message % e.contact.name
yield e
def iter_new_contacts(self):
with self.browser:
for _id in self.browser.search_profiles():#.difference(self.OPTIM_PROFILE_WALKER.visited_profiles):
contact = Contact(_id, '', 0)
yield contact
# ---- CapMessages methods ---------------------
def fill_thread(self, thread, fields):