summaryrefslogtreecommitdiff
path: root/protocols/Twitter/src/connection.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-02-07 20:53:31 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-02-07 20:53:31 +0300
commit492705d668efe34d73093a04e9412b1cc42033c3 (patch)
tree87febf5bd9b5264cc874b86bab888f657cb0ccd2 /protocols/Twitter/src/connection.cpp
parent5c4715aea7dc5bda704924448d2d74380f75c0b0 (diff)
Twitter: there's no need to assign the same text to both status message & text message
Diffstat (limited to 'protocols/Twitter/src/connection.cpp')
-rw-r--r--protocols/Twitter/src/connection.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/Twitter/src/connection.cpp b/protocols/Twitter/src/connection.cpp
index 353aa24b43..b3db9bf89e 100644
--- a/protocols/Twitter/src/connection.cpp
+++ b/protocols/Twitter/src/connection.cpp
@@ -548,8 +548,7 @@ void TwitterProto::UpdateStatuses(bool pre_read, bool popups, bool tweetToMsg)
dbei.szModule = m_szModuleName;
db_event_add(hContact, &dbei);
}
-
- db_set_utf(hContact, "CList", "StatusMsg", i->status.text.c_str());
+ else db_set_utf(hContact, "CList", "StatusMsg", i->status.text.c_str());
if (!pre_read && popups) {
std::stringstream url;