[Telepathy-commits] [telepathy-gabble/master] Note that delivery reports should be emitted whenever SendError is
Will Thompson
will.thompson at collabora.co.uk
Tue Feb 3 06:34:48 PST 2009
---
src/im-factory.c | 1 +
src/muc-factory.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/im-factory.c b/src/im-factory.c
index 41950ba..0dc69c9 100644
--- a/src/im-factory.c
+++ b/src/im-factory.c
@@ -274,6 +274,7 @@ im_factory_message_cb (LmMessageHandler *handler,
DEBUG ("got error sending to %s (handle %u), msgtype %u, body:\n%s",
from, handle, msgtype, body);
+ /* FIXME: emit a delivery report */
tp_svc_channel_type_text_emit_send_error ((TpSvcChannelTypeText *) chan,
send_error, stamp, msgtype, body);
diff --git a/src/muc-factory.c b/src/muc-factory.c
index 413e7ce..f53b5ae 100644
--- a/src/muc-factory.c
+++ b/src/muc-factory.c
@@ -810,6 +810,7 @@ muc_factory_message_cb (LmMessageHandler *handler,
if (send_error != GABBLE_TEXT_CHANNEL_SEND_NO_ERROR)
{
+ /* FIXME: emit a delivery report */
tp_svc_channel_type_text_emit_send_error ((TpSvcChannelTypeText *) chan,
send_error, stamp, msgtype, body);
goto done;
--
1.5.6.5
More information about the telepathy-commits
mailing list