[Bug 36011] Add Chan.I.SMS.GetLength()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 14 02:54:31 CEST 2011


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

--- Comment #4 from Danielle Madeley <danielle.madeley at collabora.co.uk> 2011-04-13 17:54:31 PDT ---
(In reply to comment #3)
> This looks reasonable. I think there should be a recommendation that clients
> SHOULD not call this method after every keystroke (I assume Empathy would call
> it at most once a second or something?).

"Clients SHOULD limit the frequency with which this method is called and SHOULD
NOT call it for every keystroke. Clients MAY estimate the remaining size
between single keystrokes." ?

> In the NotImplemented error annotation, suggest that clients fall back to
> estimating the number of chunks internally. (The N900's UI, for instance, used
> an SMS library to determine this in-process.)

"Clients MAY choose to make their own estimation." ?

> I reluctantly think that Content should be aa{sv}: Ring, at least, can send
> vCards.

Good point. Also in some magical future, MMS.

> I think you're either missing a comma, or you should move “to provide length
> details to the user” in place of the comma.

Yes.

Any idea how to best represent that a message will be truncated? Perhaps add a
b:Truncated, where, if true, Remaining_Chars indicates how many characters will
be truncated. Alternatively, make Remaining_Chars signed, and make negative
represent the number of characters that will be truncated.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- 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