Improve ConnectionState documentation.
This commit is contained in:
parent
968c0ad5ae
commit
a84e46048d
@ -5696,16 +5696,16 @@ autosaveSettings private_chat_settings:scopeAutosaveSettings group_settings:scop
|
||||
|
||||
//@class ConnectionState @description Describes the current state of the connection to Telegram servers
|
||||
|
||||
//@description Currently waiting for the network to become available. Use setNetworkType to change the available network type
|
||||
//@description Waiting for the network to become available. Use setNetworkType to change the available network type
|
||||
connectionStateWaitingForNetwork = ConnectionState;
|
||||
|
||||
//@description Currently establishing a connection with a proxy server
|
||||
//@description Establishing a connection with a proxy server
|
||||
connectionStateConnectingToProxy = ConnectionState;
|
||||
|
||||
//@description Currently establishing a connection to the Telegram servers
|
||||
//@description Establishing a connection to the Telegram servers
|
||||
connectionStateConnecting = ConnectionState;
|
||||
|
||||
//@description Downloading data received while the application was offline
|
||||
//@description Downloading data supposed to be received while the application was offline
|
||||
connectionStateUpdating = ConnectionState;
|
||||
|
||||
//@description There is a working connection to the Telegram servers
|
||||
|
@ -15022,7 +15022,7 @@ void ContactsManager::speculative_delete_channel_participant(ChannelId channel_i
|
||||
void ContactsManager::speculative_add_channel_participant_count(ChannelId channel_id, int32 delta_participant_count,
|
||||
bool by_me) {
|
||||
if (by_me) {
|
||||
// Currently ignore all changes made by the current user, because they may be already counted
|
||||
// Currently, ignore all changes made by the current user, because they may have been already counted
|
||||
invalidate_channel_full(channel_id, false, "speculative_add_channel_participant_count"); // just in case
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user