[Bug 13349] Review mail notification spec

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 23 19:31:56 CET 2010


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





--- Comment #21 from Simon McVittie <simon.mcvittie at collabora.co.uk>  2010-02-23 10:31:56 PST ---
(In reply to comment #20)
> (B) Relax the 'id' uniqueness requirement from "unique per Connection" to
> "unique until removed".

Sjoerd and I discussed this in the office and we now think we should make this
change anyway, forbid "id" entirely on connections where you can't tell whether
it's still valid (i.e. those that don't have Supports_Unread_Mails), and deal
with the RequestMailURL problem by putting more info in URL_Data:

> (D) Change url-data so it can have any type, and change the signature of
> RequestMailURL to RequestMailURL(v: URL_Data) or RequestMailURL(s: ID, v: URL_Data)

So, in protocols where you have several things to encode in URL_Data but no
sufficiently-unique IDs, you don't need to glue the URL data into a single
string and then parse it again - you can just give the client a string list in
a variant (a GValue, in GLib terms) and expect the client to give it back to
you intact.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the telepathy-bugs mailing list