rename 'shown' to 'hidden'
This commit is contained in:
parent
de020c0cc5
commit
928dbcb16d
3 changed files with 7 additions and 5 deletions
|
|
@ -343,8 +343,10 @@ class AuMBackend(BaseBackend, ICapMessages, ICapMessagesPost, ICapDating, ICapCh
|
|||
contact.status_msg = profile.get_status()
|
||||
contact.summary = profile.description
|
||||
for photo in profile.photos:
|
||||
contact.set_photo(photo['url'].split('/')[-1], url=photo['url'],
|
||||
thumbnail_url=photo['url'].replace('image', 'thumb1_'), shown=photo['shown'])
|
||||
contact.set_photo(photo['url'].split('/')[-1],
|
||||
url=photo['url'],
|
||||
thumbnail_url=photo['url'].replace('image', 'thumb1_'),
|
||||
hidden=photo['hidden'])
|
||||
contact.profile = []
|
||||
|
||||
stats = ProfileNode('stats', 'Stats', [], flags=ProfileNode.HEAD|ProfileNode.SECTION)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue