[Telepathy] [Bug 17080] New: Special-case for the self-handle in GetKnownAvatarTokens is counterintuitive .
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Aug 11 11:42:13 PDT 2008
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: telepathy at lists.freedesktop.org
ReportedBy: will.thompson at collabora.co.uk
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.
More information about the Telepathy
mailing list