Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix: accented room name display
Bettenbuk Zoltana46fd60788da
diff --git a/react/features/base/conference/functions.js b/react/features/base/conference/functions.jsindex 8bb8304ce0..5d16ac5ee9 100644--- a/react/features/base/conference/functions.js+++ b/react/features/base/conference/functions.js@@ -164,7 +164,7 @@ export function getConferenceName(stateful: Function | Object): string {|| subject|| callDisplayName|| (callee && callee.name)- || _.startCase(safeDecodeURIComponent(room));+ || safeStartCase(safeDecodeURIComponent(room));}/**@@ -351,3 +351,19 @@ export function sendLocalParticipant(conference.setDisplayName(name);}++/**+ * A safe implementation of lodash#startCase that doesn't deburr the string.+ *+ * NOTE: According to lodash roadmap, lodash v5 will have this function.+ *+ * Code based on https://github.com/lodash/lodash/blob/master/startCase.js.+ *+ * @param {string} s - The string to do start case on.+ * @returns {string}+ */+function safeStartCase(s = '') {+ return _.words(`${s}`.replace(/['\u2019]/g, '')).reduce(+ (result, word, index) => result + (index ? ' ' : '') + _.upperFirst(word)+ , '');+}