mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 08:59:37 -05:00
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:
parent
8f6f7b50d6
commit
b9a79db9b0
@ -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)
|
||||||
{
|
{
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user