diff options
-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>
|