From 3a642ff095b3a100fd015a0ac1c6f99dd31771e1 Mon Sep 17 00:00:00 2001 From: Oleksander Kostenko Date: Mon, 17 Oct 2016 18:11:51 +0300 Subject: [PATCH] TSAM-8864 Messages can add file > 295KB Change-Id: Icd069d14a8a3e116bf5453a0360e1cc2b477852c Signed-off-by: Oleksander Kostenko --- src/Common/MsgEngine/src/MsgUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Common/MsgEngine/src/MsgUtils.cpp b/src/Common/MsgEngine/src/MsgUtils.cpp index 3a9f85d..b72b329 100644 --- a/src/Common/MsgEngine/src/MsgUtils.cpp +++ b/src/Common/MsgEngine/src/MsgUtils.cpp @@ -146,7 +146,7 @@ bool MsgUtils::isSms(Message::Type type) std::string MsgUtils::makeKbStr(long long bytes) { - const long long kb = 1000; // Bytes in kb + const long long kb = 1024; // Bytes in kb long long sizeKb = 0; if(bytes <= kb) { -- 2.7.4