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);