Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Revert "fix(avatar): add ZWNJ between initials of letter avatars"

Дамян Минковfcc8e98aad2e
diff --git a/react/features/base/avatar/functions.js b/react/features/base/avatar/functions.js
index 68677a6675..9c40995898 100644
--- a/react/features/base/avatar/functions.js
+++ b/react/features/base/avatar/functions.js
@@ -68,9 +68,7 @@ export function getInitials(s: ?string) {
const initialsBasis = _.split(s, '@')[0];
const [ firstWord, secondWord ] = initialsBasis.split(wordSplitRegex).filter(Boolean);
- // Add ZWNJ to separate the initials in languages like Arabic or Persian.
- return `${getFirstGraphemeUpper(firstWord)}\u200c${getFirstGraphemeUpper(secondWord)}`;
-
+ return getFirstGraphemeUpper(firstWord) + getFirstGraphemeUpper(secondWord);
}
/**