summaryrefslogtreecommitdiff
path: root/protocols/Twitter/src/connection.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-02-04 16:42:51 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-02-04 16:42:51 +0300
commitcf4bff42f8a3dbf18623d8df599849399a6165a7 (patch)
treeafb17df7fe70a91e5a5ad7546e78bb82ae6eeb2e /protocols/Twitter/src/connection.cpp
parent5bef9cc96f37de38f9f6388d5eeb42b8ed85edbd (diff)
fixes #2193 (Twitter bug with Scriver or Tabsrmm)
Diffstat (limited to 'protocols/Twitter/src/connection.cpp')
-rw-r--r--protocols/Twitter/src/connection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Twitter/src/connection.cpp b/protocols/Twitter/src/connection.cpp
index ead208386f..353aa24b43 100644
--- a/protocols/Twitter/src/connection.cpp
+++ b/protocols/Twitter/src/connection.cpp
@@ -537,13 +537,13 @@ void TwitterProto::UpdateStatuses(bool pre_read, bool popups, bool tweetToMsg)
MCONTACT hContact = AddToClientList(i->username.c_str(), "");
UpdateAvatar(hContact, i->profile_image_url);
- // i think we maybe should just do that DBEF_READ line instead of stopping ALL this code. have to test.
+ // if we send twits as messages, add an unread event
if (tweetToMsg) {
DBEVENTINFO dbei = {};
dbei.pBlob = (BYTE*)(i->status.text.c_str());
dbei.cbBlob = (int)i->status.text.size() + 1;
dbei.eventType = TWITTER_DB_EVENT_TYPE_TWEET;
- dbei.flags = DBEF_UTF | DBEF_READ;
+ dbei.flags = DBEF_UTF;
dbei.timestamp = static_cast<DWORD>(i->status.time);
dbei.szModule = m_szModuleName;
db_event_add(hContact, &dbei);