removed some debug output

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6841 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-10-17 18:45:59 +00:00
parent 8f6f7b50d6
commit b9a79db9b0
2 changed files with 3 additions and 1 deletions

View File

@ -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) ; 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; std::cerr << "Checking msg flags: " << std::hex << fl << std::endl;
#endif
if(dynamic_cast<RsChatLobbyMsgItem*>(ci) != NULL) if(dynamic_cast<RsChatLobbyMsgItem*>(ci) != NULL)
{ {

View File

@ -290,7 +290,7 @@ void ChatLobbyDialog::addIncomingChatMsg(const ChatInfo& info)
QString name = QString::fromUtf8(info.peer_nickname.c_str()); QString name = QString::fromUtf8(info.peer_nickname.c_str());
QString rsid = QString::fromUtf8(info.rsid.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)) { if(!isParticipantMuted(name)) {
ui.chatWidget->addChatMsg(true, name, sendTime, recvTime, message, ChatWidget::TYPE_NORMAL); ui.chatWidget->addChatMsg(true, name, sendTime, recvTime, message, ChatWidget::TYPE_NORMAL);