diff options
author | George Hazan <ghazan@miranda.im> | 2020-02-04 16:42:51 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-02-04 16:42:51 +0300 |
commit | cf4bff42f8a3dbf18623d8df599849399a6165a7 (patch) | |
tree | afb17df7fe70a91e5a5ad7546e78bb82ae6eeb2e /protocols | |
parent | 5bef9cc96f37de38f9f6388d5eeb42b8ed85edbd (diff) |
fixes #2193 (Twitter bug with Scriver or Tabsrmm)
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/Twitter/src/connection.cpp | 4 | ||||
-rw-r--r-- | protocols/Twitter/src/version.h | 2 |
2 files changed, 3 insertions, 3 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);
diff --git a/protocols/Twitter/src/version.h b/protocols/Twitter/src/version.h index 7d9bd73e68..52d9d4d883 100644 --- a/protocols/Twitter/src/version.h +++ b/protocols/Twitter/src/version.h @@ -1,7 +1,7 @@ #define __MAJOR_VERSION 1
#define __MINOR_VERSION 3
#define __RELEASE_NUM 1
-#define __BUILD_NUM 1
+#define __BUILD_NUM 2
#include <stdver.h>
|