mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Fix proxying in channels without message history + reduce proxy latency
This commit is contained in:
parent
1720a28af2
commit
4c17ee3d89
6 changed files with 35 additions and 36 deletions
|
|
@ -14,7 +14,7 @@ namespace PluralKit.Core
|
|||
_logger.Debug("Stored message {@StoredMessage} in channel {Channel}", msg, msg.Channel);
|
||||
}
|
||||
|
||||
public async Task<FullMessage> GetMessage(IPKConnection conn, ulong id)
|
||||
public async Task<FullMessage?> GetMessage(IPKConnection conn, ulong id)
|
||||
{
|
||||
FullMessage Mapper(PKMessage msg, PKMember member, PKSystem system) =>
|
||||
new FullMessage {Message = msg, System = system, Member = member};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue