fix(telegram): honor the author emoji toggle

The author marker must obey the group emoji preference just like
formatter-added decoration.
This commit is contained in:
翅膀 committed 2026-10-23 23:23:10 +08:00
1 parent 7a76cac8a1
commit 8b10b98880
2 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -106,7 +106,7 @@ export function renderNeutralMessage(message: NeutralMessage): string {
if (message.author) {
const name = mdToHtml(message.author.name);
const author = message.author.url ? `<a href="${esc(message.author.url)}">${name}</a>` : name;
parts.push(`👤 ${author}`);
parts.push(message.emoji === false ? author : `👤 ${author}`);
}
if (message.description) {