chore: fix lint/format and update changelog

Co-authored-by: ItzR3NO <ItzR3NO@users.noreply.github.com>
This commit is contained in:
Peter Steinberger
2026-01-17 10:16:32 +00:00
parent fbf1c3ca3c
commit 4ca38286d8
5 changed files with 7 additions and 26 deletions

View File

@@ -86,11 +86,7 @@ export function formatTargetDisplay(params: {
const display = params.display?.trim();
const kind =
params.kind ??
(lowered.startsWith("user:")
? "user"
: lowered.startsWith("channel:")
? "group"
: undefined);
(lowered.startsWith("user:") ? "user" : lowered.startsWith("channel:") ? "group" : undefined);
if (display) {
if (display.startsWith("#") || display.startsWith("@")) return display;