[Bug 68149] Erroneous warning if CM does not implement SimplePresence

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 2 03:54:43 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=68149

--- Comment #4 from Simon McVittie <simon.mcvittie at collabora.co.uk> ---
(In reply to comment #1)
> Relatedly, there are inconsistencies in the various contact_maybe_set_*()
> functions, some warn if the attr is NULL, others silently return without
> marking the feature as prepared, and finally some mark feature as ready but
> creates a dummy value.

They have to be somewhat inconsistent. Some (Alias, SimplePresence) define that
if supported and asked for, the attribute must not be omitted, usually because
there's a sensible answer at all times (alias=identifier, presence=UNKNOWN).
Some define omission to mean "don't know".

Whether to consider NULL/omission to be enough to prepare the feature is
case-by-case. I'll check what the cases are / whether they're all sensible.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the telepathy-bugs mailing list