store if photo is hidden
This commit is contained in:
parent
f924c0aa92
commit
fc9f6b439f
3 changed files with 13 additions and 3 deletions
|
|
@ -41,6 +41,7 @@ class ContactPhoto(CapBaseObject):
|
|||
self.add_field('data', str)
|
||||
self.add_field('thumbnail_url', basestring)
|
||||
self.add_field('thumbnail_data', basestring)
|
||||
self.add_field('shown', bool)
|
||||
|
||||
def __iscomplete__(self):
|
||||
return (self.data and (not self.thumbnail_url or self.thumbnail_data))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue