From 79d99837e0fefa32d695dba7e2a13b8a42f39da2 Mon Sep 17 00:00:00 2001
From: George Hazan <ghazan@miranda.im>
Date: Thu, 20 Feb 2020 19:16:41 +0300
Subject: Twitter: forgotten flag to store message ids

---
 protocols/Twitter/src/proto.cpp | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'protocols/Twitter/src')

diff --git a/protocols/Twitter/src/proto.cpp b/protocols/Twitter/src/proto.cpp
index 8ab85237b1..3629a59f35 100644
--- a/protocols/Twitter/src/proto.cpp
+++ b/protocols/Twitter/src/proto.cpp
@@ -101,14 +101,13 @@ INT_PTR CTwitterProto::GetCaps(int type, MCONTACT)
 {
 	switch (type) {
 	case PFLAGNUM_1:
-		return PF1_IM | PF1_MODEMSGRECV | PF1_BASICSEARCH | PF1_SEARCHBYEMAIL |
-			PF1_SERVERCLIST | PF1_CHANGEINFO;
+		return PF1_IM | PF1_MODEMSGRECV | PF1_BASICSEARCH | PF1_SEARCHBYEMAIL | PF1_SERVERCLIST | PF1_CHANGEINFO;
 	case PFLAGNUM_2:
 		return PF2_ONLINE;
 	case PFLAGNUM_3:
 		return PF2_ONLINE;
 	case PFLAGNUM_4:
-		return PF4_NOCUSTOMAUTH | PF4_AVATARS;
+		return PF4_NOCUSTOMAUTH | PF4_AVATARS | PF4_SERVERMSGID;
 	case PFLAG_MAXLENOFMESSAGE:
 		return 159; // 140 + <max length of a users name (15 apparently)> + 4 ("RT @").  this allows for the new style retweets
 	case PFLAG_UNIQUEIDTEXT:
-- 
cgit v1.2.3