http://bugs.freedesktop.org/show_bug.cgi?id=17080

           Summary: Special-case for the self-handle in GetKnownAvatarTokens
                    is counterintuitive.
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: telepathy-spec
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


For any non-self-handle, GetKnownAvatarTokens only returns the token if it is
already known.  For self-handle, it is required to know the token for the
avatar if one is set, and only to omit the self-handle from the results if it's
really unset.  Clients are meant to rely on this special case to figure out
whether they need to re-set the avatar on connect because your avatar doesn't
persist between connections on the protocol in question.

It seems awkward to use a side-effect of this method's surprising definition to
figure this out.  We might want to add RequestSelfAvatarToken, or add a flag
saying that we have our own token.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Telepathy mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/telepathy

Reply via email to