[empathy/gnome-2-34] tp_chat_received_cb: display the path of the channel in debug log
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy/gnome-2-34] tp_chat_received_cb: display the path of the channel in debug log
- Date: Fri, 4 Mar 2011 11:40:33 +0000 (UTC)
commit a0babfa947e18565fafa369aa148d7e6afa9144a
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Fri Mar 4 10:51:36 2011 +0100
tp_chat_received_cb: display the path of the channel in debug log
That can be convenient when debugging to easily match Empathy and CM logs.
libempathy/empathy-tp-chat.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c
index c1e911e..5616423 100644
--- a/libempathy/empathy-tp-chat.c
+++ b/libempathy/empathy-tp-chat.c
@@ -338,7 +338,8 @@ tp_chat_received_cb (TpChannel *channel,
return;
}
- DEBUG ("Message received: %s", message_body);
+ DEBUG ("Message received from channel %s: %s",
+ tp_proxy_get_object_path (channel), message_body);
if (message_flags & TP_CHANNEL_TEXT_MESSAGE_FLAG_NON_TEXT_CONTENT &&
!tp_strdiff (message_body, "")) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]