Bug 29560 - Messages should document at what points errors can be reported
Summary: Messages should document at what points errors can be reported
Status: RESOLVED DUPLICATE of bug 26838
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-spec (show other bugs)
Version: git master
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-13 05:35 UTC by Will Thompson
Modified: 2010-11-08 09:49 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Will Thompson 2010-08-13 05:35:56 UTC
It's a bit confusing that SendMessage() may return an error, but if it succeeds you still might later get a failed delivery report, since it returning just means “I submitted this message to the server”.

I think this behaviour is okay, but it should be explicitly documented in the Messages interface. SendMessage() and MessageSent do say that they only mean the message was submitted, but nothing is really mentioned up-front about failed delivery reports.
Comment 1 Simon McVittie 2010-11-08 09:49:51 UTC
Fixed on my messages branch.

*** This bug has been marked as a duplicate of bug 26838 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.