Chat: Fix commas in users' names with emojis (#3451)
This commit is contained in:
parent
23eef3034d
commit
652d68fd35
@ -91,6 +91,7 @@ export function renderActionMessageText(
|
||||
) : actionOriginChat ? (
|
||||
renderChatContent(lang, actionOriginChat, noLinks) || NBSP
|
||||
) : 'User',
|
||||
'',
|
||||
);
|
||||
|
||||
unprocessed = processed.pop() as string;
|
||||
@ -157,6 +158,7 @@ export function renderActionMessageText(
|
||||
targetUsers
|
||||
? targetUsers.map((user) => renderUserContent(user, noLinks)).filter(Boolean)
|
||||
: 'User',
|
||||
'',
|
||||
);
|
||||
|
||||
unprocessed = processed.pop() as string;
|
||||
@ -190,6 +192,7 @@ export function renderActionMessageText(
|
||||
targetChatId
|
||||
? renderMigratedContent(targetChatId, noLinks)
|
||||
: 'another chat',
|
||||
'',
|
||||
);
|
||||
processed.forEach((part) => {
|
||||
content.push(...renderText(part));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user