summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-17 19:40:32 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-17 19:40:32 +0300
commit0d8b32b8381f7fd03af151ae03fd30ea91c05667 (patch)
tree8063576e4d8290fc2ef00547c61f724afad576d5 /src/gui/windows
parentae651b87a1db4131733eaccc5736a287a06a0e6b (diff)
downloadplus-0d8b32b8381f7fd03af151ae03fd30ea91c05667.tar.gz
plus-0d8b32b8381f7fd03af151ae03fd30ea91c05667.tar.bz2
plus-0d8b32b8381f7fd03af151ae03fd30ea91c05667.tar.xz
plus-0d8b32b8381f7fd03af151ae03fd30ea91c05667.zip
Dont more chat messages with item links into trade tab.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/chatwindow.cpp24
1 files changed, 0 insertions, 24 deletions
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)