This commit is contained in:
spiral 2021-11-19 07:57:01 -05:00
parent c9f91e0c13
commit 923ad100e5
No known key found for this signature in database
GPG key ID: A6059F0CA0E1BD31
4 changed files with 6 additions and 5 deletions

View file

@ -139,7 +139,7 @@ namespace Myriad.Cache
public Task<Channel?> TryGetDmChannel(ulong userId)
{
if (!_dmChannels.TryGetValue(userId, out var channelId))
return Task.FromResult((Channel?) null);
return Task.FromResult((Channel?)null);
return TryGetChannel(channelId);
}