From b76e9a295d5cb366ba928afa3023760818d30cea Mon Sep 17 00:00:00 2001 From: krepa098 Date: Fri, 2 Jan 2015 20:29:39 +0100 Subject: [PATCH] disabled group joined/left messages Conflicts: src/widget/widget.cpp --- src/widget/widget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widget/widget.cpp b/src/widget/widget.cpp index 256fedd4b..3068ff1db 100644 --- a/src/widget/widget.cpp +++ b/src/widget/widget.cpp @@ -989,7 +989,7 @@ void Widget::onGroupNamelistChanged(int groupnumber, int peernumber, uint8_t Cha // g->addPeer(peernumber,name); g->regeneratePeerList(); - //g->chatForm->addSystemInfoMessage(tr("%1 has joined the chat").arg(name), "green"); + // g->getChatForm()->addSystemInfoMessage(tr("%1 has joined the chat").arg(name), "white", QDateTime::currentDateTime()); // we can't display these messages until irungentoo fixes peernumbers // https://github.com/irungentoo/toxcore/issues/1128 } @@ -997,7 +997,7 @@ void Widget::onGroupNamelistChanged(int groupnumber, int peernumber, uint8_t Cha { // g->removePeer(peernumber); g->regeneratePeerList(); - //g->chatForm->addSystemInfoMessage(tr("%1 has left the chat").arg(name), "silver"); + // g->getChatForm()->addSystemInfoMessage(tr("%1 has left the chat").arg(name), "white", QDateTime::currentDateTime()); } else if (change == TOX_CHAT_CHANGE_PEER_NAME) // core overwrites old name before telling us it changed... g->updatePeer(peernumber,core->getGroupPeerName(groupnumber, peernumber));