mirror of
https://github.com/Elysola/WebHooker.git
synced 2026-11-21 01:23:40 +00:00
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:
1 parent
7a76cac8a1
commit
8b10b98880
2 files changed
+6
-1
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user