Review Request 109490: fix grayed avatars part 2/2
Alin M Elena
alinm.elena at gmail.com
Fri Mar 15 07:46:48 UTC 2013
> On March 15, 2013, 1:19 a.m., David Edmundson wrote:
> > That just means some numpty isn't including FeatureAvatarToken
>
> Alin M Elena wrote:
> I think Martin added it.. simply for offline contacts comes as empty string.
>
> Alin
ok... I see a problem... but it may be only me...
if an avatar changes his avatar... his token is changing (his key in the rc changes too.)
i suspect the id does not change... so we pull for offline an outdated image from cache.
maybe the cacheKey shall be build based on the string we have in hash.
Alin
- Alin M
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/109490/#review29247
-----------------------------------------------------------
On March 14, 2013, 11:30 p.m., Alin M Elena wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/109490/
> -----------------------------------------------------------
>
> (Updated March 14, 2013, 11:30 p.m.)
>
>
> Review request for Telepathy, David Edmundson and Martin Klapetek.
>
>
> Description
> -------
>
> using avatarToken for keyCache ends up with "-offline" for all grayed avatars as cache entries.. which is obviously wrong... I used id() instead... Martin's original idea.
>
>
> This addresses bug 316743.
> http://bugs.kde.org/show_bug.cgi?id=316743
>
>
> Diffs
> -----
>
> KTp/contact.cpp 84ae642
>
> Diff: http://git.reviewboard.kde.org/r/109490/diff/
>
>
> Testing
> -------
>
> build and now offline avatars are correctly grayed.
>
>
> Thanks,
>
> Alin M Elena
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20130315/c3dd7a3d/attachment.html>
More information about the KDE-Telepathy
mailing list