Mercurial > libervia-web
changeset 916:e9bb7257d051
server (blog): fixed static blog generation:
Q&D fix by updating call to avatarGet, avatar is not working at the moment.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 05 Mar 2017 23:16:32 +0100 |
parents | e9e9d9d893a8 |
children | 86563d6c83b0 |
files | src/server/blog.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/server/blog.py Sun Mar 05 23:15:09 2017 +0100 +++ b/src/server/blog.py Sun Mar 05 23:16:32 2017 +0100 @@ -156,7 +156,8 @@ url = self.avatars_cache[bare_jid_s] except KeyError: self.avatars_cache[bare_jid_s] = '' # avoid to request the vcard several times - self.host.bridge.getCard(bare_jid_s, C.SERVICE_PROFILE) + # self.host.bridge.getCard(bare_jid_s, C.SERVICE_PROFILE) + self.host.bridge.avatarGet(bare_jid_s, True, True, C.SERVICE_PROFILE) d = defer.Deferred() self.waiting_deferreds[bare_jid_s] = d return d