Просмотр исходного кода

fixed the encoded tiltle issue in chinese

Checked the code of react.native part, there's no issue by using safeDecodeURIComponent.
So fixed it in same way.
master
Vincent Hou 5 лет назад
Родитель
Сommit
3e40bb19cd
1 измененных файлов: 2 добавлений и 2 удалений
  1. 2
    2
      react/features/recent-list/functions.web.js

+ 2
- 2
react/features/recent-list/functions.web.js Просмотреть файл

@@ -1,6 +1,6 @@
1 1
 /* global interfaceConfig */
2 2
 
3
-import { parseURIString } from '../base/util';
3
+import { parseURIString, safeDecodeURIComponent } from '../base/util';
4 4
 
5 5
 
6 6
 /**
@@ -18,7 +18,7 @@ export function toDisplayableList(recentList) {
18 18
                     date: item.date,
19 19
                     duration: item.duration,
20 20
                     time: [ item.date ],
21
-                    title: parseURIString(item.conference).room,
21
+                    title: safeDecodeURIComponent(parseURIString(item.conference).room),
22 22
                     url: item.conference
23 23
                 };
24 24
             }));

Загрузка…
Отмена
Сохранить