Disable FixSameName for the time being

This commit is contained in:
Ske 2021-08-31 01:31:12 +02:00
parent 4dffdb2e9a
commit 13260a4b0e

View File

@ -246,7 +246,9 @@ namespace PluralKit.Bot
private async Task<string> FixSameName(ulong channelId, MessageContext ctx, ProxyMember member)
{
// TODO: this function's disabled due to extra database pressure, find a way to do it without requiring an extra connection
var proxyName = member.ProxyName(ctx);
return proxyName;
var lastMessage = _lastMessage.GetLastMessage(channelId)?.Previous;
if (lastMessage == null)