mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-13 09:10:14 +00:00
Disable FixSameName for the time being
This commit is contained in:
parent
4dffdb2e9a
commit
13260a4b0e
1 changed files with 2 additions and 0 deletions
|
|
@ -246,7 +246,9 @@ namespace PluralKit.Bot
|
||||||
|
|
||||||
private async Task<string> FixSameName(ulong channelId, MessageContext ctx, ProxyMember member)
|
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);
|
var proxyName = member.ProxyName(ctx);
|
||||||
|
return proxyName;
|
||||||
|
|
||||||
var lastMessage = _lastMessage.GetLastMessage(channelId)?.Previous;
|
var lastMessage = _lastMessage.GetLastMessage(channelId)?.Previous;
|
||||||
if (lastMessage == null)
|
if (lastMessage == null)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue