mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix: unbreak error reporting for @mention prefix
This commit is contained in:
parent
47e15e3acb
commit
d58cc216c0
3 changed files with 5 additions and 6 deletions
|
|
@ -220,7 +220,8 @@ public class Bot
|
|||
return;
|
||||
|
||||
// Once we've sent it to Sentry, report it to the user (if we have permission to)
|
||||
var reportChannel = handler.ErrorChannelFor(evt);
|
||||
var ourUserId = await _cache.GetOwnUser();
|
||||
var reportChannel = handler.ErrorChannelFor(evt, ourUserId);
|
||||
if (reportChannel == null)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue