summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-12-06 18:19:48 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-12-06 18:19:48 +0300
commitc38733b3bcdfdf4af461f1d6a2cd9350b575249f (patch)
tree6ff382510ce7c341a06090288c55ddb9772f8377 /protocols/Telegram/src/utils.cpp
parent5e3e73a695070af347a35bf29aacb5e9ff78910a (diff)
fixes #4019 completely
Diffstat (limited to 'protocols/Telegram/src/utils.cpp')
-rw-r--r--protocols/Telegram/src/utils.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/Telegram/src/utils.cpp b/protocols/Telegram/src/utils.cpp
index 2db0a384f7..8fff0f9d2b 100644
--- a/protocols/Telegram/src/utils.cpp
+++ b/protocols/Telegram/src/utils.cpp
@@ -305,6 +305,7 @@ TG_USER* CTelegramProto::AddUser(int64_t id, bool bIsChat)
setWString(hContact, "FirstName", pUser->wszFirstName);
setWString(hContact, "LastName", pUser->wszLastName);
}
+ else pUser->bStartChat = true;
}
return pUser;