From b9a79db9b0001d06ed28123887959a8bee21a71d Mon Sep 17 00:00:00 2001 From: csoler Date: Thu, 17 Oct 2013 18:45:59 +0000 Subject: [PATCH] removed some debug output git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6841 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/services/p3chatservice.cc | 2 ++ retroshare-gui/src/gui/chat/ChatLobbyDialog.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libretroshare/src/services/p3chatservice.cc b/libretroshare/src/services/p3chatservice.cc index fb88adbe5..3cf5453d8 100644 --- a/libretroshare/src/services/p3chatservice.cc +++ b/libretroshare/src/services/p3chatservice.cc @@ -1220,7 +1220,9 @@ bool p3ChatService::checkForMessageSecurity(RsChatMsgItem *ci) uint32_t fl = ci->chatFlags & (RS_CHAT_FLAG_PRIVATE | RS_CHAT_FLAG_PUBLIC | RS_CHAT_FLAG_LOBBY) ; +#ifdef CHAT_DEBUG std::cerr << "Checking msg flags: " << std::hex << fl << std::endl; +#endif if(dynamic_cast(ci) != NULL) { diff --git a/retroshare-gui/src/gui/chat/ChatLobbyDialog.cpp b/retroshare-gui/src/gui/chat/ChatLobbyDialog.cpp index db2b5f224..4160b1045 100644 --- a/retroshare-gui/src/gui/chat/ChatLobbyDialog.cpp +++ b/retroshare-gui/src/gui/chat/ChatLobbyDialog.cpp @@ -290,7 +290,7 @@ void ChatLobbyDialog::addIncomingChatMsg(const ChatInfo& info) QString name = QString::fromUtf8(info.peer_nickname.c_str()); QString rsid = QString::fromUtf8(info.rsid.c_str()); - std::cerr << "message from rsid " << info.rsid.c_str() << std::endl; + //std::cerr << "message from rsid " << info.rsid.c_str() << std::endl; if(!isParticipantMuted(name)) { ui.chatWidget->addChatMsg(true, name, sendTime, recvTime, message, ChatWidget::TYPE_NORMAL);