diff --git a/src/Discord.Net/DiscordClient.cs b/src/Discord.Net/DiscordClient.cs
index 53ffd35cf..cf603f0b4 100644
--- a/src/Discord.Net/DiscordClient.cs
+++ b/src/Discord.Net/DiscordClient.cs
@@ -673,9 +673,6 @@ namespace Discord
msg.State = MessageState.Normal;
RaiseMessageReceived(msg);
-
- if (Config.AckMessages && !isAuthor)
- await _api.AckMessage(data.Id, data.ChannelId).ConfigureAwait(false);
}
break;
case "MESSAGE_UPDATE":
diff --git a/src/Discord.Net/DiscordConfig.cs b/src/Discord.Net/DiscordConfig.cs
index 4a31544ca..9c086cfd1 100644
--- a/src/Discord.Net/DiscordConfig.cs
+++ b/src/Discord.Net/DiscordConfig.cs
@@ -75,17 +75,17 @@ namespace Discord
public int RestTimeout { get { return _restTimeout; } set { SetValue(ref _restTimeout, value); } }
private int _restTimeout = 10000;
- /// Enables or disables the internal message queue. This will allow SendMessage to return immediately and handle messages internally. Messages will set the IsQueued and HasFailed properties to show their progress.
+ /// Enables or disables the internal message queue. This will allow SendMessage/EditMessage to return immediately and handle messages internally.
public bool UseMessageQueue { get { return _useMessageQueue; } set { SetValue(ref _useMessageQueue, value); } }
private bool _useMessageQueue = true;
/// Gets or sets the time (in milliseconds) to wait when the message queue is empty before checking again.
public int MessageQueueInterval { get { return _messageQueueInterval; } set { SetValue(ref _messageQueueInterval, value); } }
private int _messageQueueInterval = 100;
- //WebSocket
+ //WebSocket
- /// Gets or sets the time (in milliseconds) to wait for the websocket to connect and initialize.
- public int ConnectionTimeout { get { return _connectionTimeout; } set { SetValue(ref _connectionTimeout, value); } }
+ /// Gets or sets the time (in milliseconds) to wait for the websocket to connect and initialize.
+ public int ConnectionTimeout { get { return _connectionTimeout; } set { SetValue(ref _connectionTimeout, value); } }
private int _connectionTimeout = 30000;
/// Gets or sets the time (in milliseconds) to wait after an unexpected disconnect before reconnecting.
public int ReconnectDelay { get { return _reconnectDelay; } set { SetValue(ref _reconnectDelay, value); } }
@@ -98,24 +98,18 @@ namespace Discord
public int WebSocketInterval { get { return _webSocketInterval; } set { SetValue(ref _webSocketInterval, value); } }
private int _webSocketInterval = 100;
- /// Instructs Discord to not send send information about offline users, for servers with more than 50 users.
- public bool UseLargeThreshold { get { return _useLargeThreshold; } set { SetValue(ref _useLargeThreshold, value); } }
- private bool _useLargeThreshold = false;
- /// Acknowledges all incoming messages so that they appear read.
- public bool AckMessages { get { return _ackMessages; } set { SetValue(ref _ackMessages, value); } }
- private bool _ackMessages = false;
- //Cache
+ //Performance
- /// Gets or sets the number of messages per channel that should be kept in cache. Setting this to zero disables the message cache entirely.
- public int MessageCacheSize { get { return _messageCacheSize; } set { SetValue(ref _messageCacheSize, value); } }
+ /// Instructs Discord to not send send information about offline users, for servers with more than 50 users.
+ public bool UseLargeThreshold { get { return _useLargeThreshold; } set { SetValue(ref _useLargeThreshold, value); } }
+ private bool _useLargeThreshold = false;
+ /// Gets or sets the number of messages per channel that should be kept in cache. Setting this to zero disables the message cache entirely.
+ public int MessageCacheSize { get { return _messageCacheSize; } set { SetValue(ref _messageCacheSize, value); } }
private int _messageCacheSize = 100;
/// Gets or sets whether the permissions cache should be used. This makes operations such as User.GetPermissions(Channel), User.ServerPermissions and Channel.Members
public bool UsePermissionsCache { get { return _usePermissionsCache; } set { SetValue(ref _usePermissionsCache, value); } }
private bool _usePermissionsCache = true;
- /// Maintains the LastActivity property for users, showing when they last made an action (sent message, joined server, typed, etc).
- public bool TrackActivity { get { return _trackActivity; } set { SetValue(ref _trackActivity, value); } }
- private bool _trackActivity = true;
public DiscordConfig()
{