aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md2
-rw-r--r--td/telegram/Client.cpp2
-rw-r--r--td/telegram/Client.h2
-rw-r--r--td/telegram/td_json_client.h2
-rw-r--r--tdnet/td/net/TcpListener.h1
5 files changed, 6 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 920ae0058..3b1714fc3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -200,7 +200,7 @@ Changes in 1.7.0:
- Added the field `can_get_statistics` to the class `supergroupFullInfo`.
- Added the class `ChatStatistics`, which represents a supergroup or a channel statistics.
- Added the method `getChatStatistics` returning detailed statistics about a chat.
- - Added the classes `chatStatisticsMessageInteractionInfo`, `chatStatisticsAdministratorActionsInfo`,
+ - Added the classes `chatStatisticsMessageInteractionInfo`, `chatStatisticsAdministratorActionsInfo`,
`chatStatisticsMessageSenderInfo` and `chatStatisticsInviterInfo` representing various parts of chat statistics.
- Added the class `statisticalValue` describing recent changes of a statistical value.
- Added the class `StatisticalGraph` describing a statistical graph.
diff --git a/td/telegram/Client.cpp b/td/telegram/Client.cpp
index 3a2058a87..2eb3ffbbb 100644
--- a/td/telegram/Client.cpp
+++ b/td/telegram/Client.cpp
@@ -22,10 +22,12 @@
#include <algorithm>
#include <atomic>
+#include <limits>
#include <memory>
#include <mutex>
#include <queue>
#include <unordered_map>
+#include <unordered_set>
namespace td {
diff --git a/td/telegram/Client.h b/td/telegram/Client.h
index dd2e97588..abc504836 100644
--- a/td/telegram/Client.h
+++ b/td/telegram/Client.h
@@ -135,7 +135,7 @@ class Client final {
* The future native C++ interface for interaction with TDLib.
*
* A TDLib client instance can be created through the method ClientManager::create_client_id.
- * Requests can then be sent using the method ClientManager::send from any thread.
+ * Requests can be sent using the method ClientManager::send from any thread.
* New updates and responses to requests can be received using the method ClientManager::receive from any thread after
* the first request has been sent to the client instance. ClientManager::receive must not be called simultaneously from
* two different threads. Also note that all updates and responses to requests should be applied in the same order as
diff --git a/td/telegram/td_json_client.h b/td/telegram/td_json_client.h
index 34658e20c..28dfc579c 100644
--- a/td/telegram/td_json_client.h
+++ b/td/telegram/td_json_client.h
@@ -103,7 +103,7 @@ TDJSON_EXPORT void td_json_client_destroy(void *client);
* a response or an update was received.
*
* A TDLib client instance can be created through td_create_client_id.
- * Requests can then be sent using td_send and the received client identifier.
+ * Requests can be sent using td_send and the received client identifier.
* New updates and responses to requests can be received through td_receive from any thread after the first request
* has been sent to the client instance. This function must not be called simultaneously from two different threads.
* Also note that all updates and responses to requests must be applied in the order they were received for consistency.
diff --git a/tdnet/td/net/TcpListener.h b/tdnet/td/net/TcpListener.h
index 8577aa26d..fd2e356d8 100644
--- a/tdnet/td/net/TcpListener.h
+++ b/tdnet/td/net/TcpListener.h
@@ -10,6 +10,7 @@
#include "td/utils/port/ServerSocketFd.h"
#include "td/utils/port/SocketFd.h"
+#include "td/utils/Slice.h"
namespace td {