From 0d8b32b8381f7fd03af151ae03fd30ea91c05667 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Jan 2016 19:40:32 +0300 Subject: Dont more chat messages with item links into trade tab. --- src/gui/windows/chatwindow.cpp | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'src') diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp index 1435a59e9..0934be0ff 100644 --- a/src/gui/windows/chatwindow.cpp +++ b/src/gui/windows/chatwindow.cpp @@ -1642,30 +1642,6 @@ bool ChatWindow::resortChatLog(std::string line, } } - if (tradeChatTab) - { - const size_t idx1 = line.find("@@"); - if (idx1 != std::string::npos) - { - idx2 = line.find("|", idx1); - if (idx2 != std::string::npos) - { - const size_t idx3 = line.find("@@", idx2); - if (idx3 != std::string::npos) - { - if (line.find("http", idx1) != idx1 + 2) - { - tradeChatTab->chatLog(prefix + line, - own, - ignoreRecord, - tryRemoveColors); - return false; - } - } - } - } - } - if (!channel.empty()) { if (langChatTab) -- cgit v1.2.3-60-g2f50