always redownload contact thread page if 'full' is True
This commit is contained in:
parent
ceff0b4019
commit
00f76e5d14
1 changed files with 2 additions and 2 deletions
|
|
@ -204,13 +204,13 @@ class AuMBrowser(BaseBrowser):
|
||||||
|
|
||||||
@pageaccess
|
@pageaccess
|
||||||
def get_thread_mails(self, id, full=False):
|
def get_thread_mails(self, id, full=False):
|
||||||
if not self.is_on_page(ContactThreadPage) or self.page.id != int(id):
|
if not self.is_on_page(ContactThreadPage) or self.page.id != int(id) or full:
|
||||||
self.page.open_thread_page(id, full)
|
self.page.open_thread_page(id, full)
|
||||||
return self.page.mails
|
return self.page.mails
|
||||||
|
|
||||||
@pageaccess
|
@pageaccess
|
||||||
def post_mail(self, id, content):
|
def post_mail(self, id, content):
|
||||||
if not self.is_on_page(ContactThreadPage) or self.page.id != int(id):
|
if not self.is_on_page(ContactThreadPage) or self.page.id != int(id) or full:
|
||||||
self.page.open_thread_page(id)
|
self.page.open_thread_page(id)
|
||||||
self.page.post(content)
|
self.page.post(content)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue