mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Don't convert emoji text unless the shortname is valid
This commit is contained in:
committed by
Scott Nonnenberg
parent
a934759e66
commit
e688450f23
@@ -202,7 +202,7 @@ export function replaceColons(str: string) {
|
||||
.split(':')
|
||||
.filter(Boolean);
|
||||
|
||||
if (shortName) {
|
||||
if (shortName && isShortName(shortName)) {
|
||||
return convertShortName(shortName, parseInt(skinTone, 10));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user