correctlu display messages from missing users
This commit is contained in:
+3
-1
@@ -1667,7 +1667,7 @@ ul.tabbar li.active > a:after {
|
||||
font-size: 2.4rem;
|
||||
}
|
||||
|
||||
#self-avatar.material-icons, .avatar-box .material-icons {
|
||||
#self-avatar.material-icons {
|
||||
font-size: 2.4rem;
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
@@ -1677,6 +1677,8 @@ ul.tabbar li.active > a:after {
|
||||
color: rgba(250, 250, 250, 0.8); /* #fafafa, gray 50 */
|
||||
background-color: #c0c0c0;
|
||||
border-radius: 50%;
|
||||
width: inherit;
|
||||
height: inherit;
|
||||
}
|
||||
|
||||
.chip-input {
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "tinode-webapp",
|
||||
"description": "Tinode messenger for the web",
|
||||
"version": "0.15.10-rc1",
|
||||
"version": "0.15.10-rc2",
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.1.2",
|
||||
"@babel/preset-env": "^7.1.0",
|
||||
|
||||
@@ -70,6 +70,7 @@
|
||||
"numeric_confirmation_code_prompt": "Numbers only",
|
||||
"button_confirm": "Confirm",
|
||||
"invalid_content": "invalid content",
|
||||
"user_not_found": "Not found",
|
||||
"badge_you": "you",
|
||||
"badge_owner": "owner",
|
||||
"menu_item_info": "Info",
|
||||
|
||||
+2
-1
@@ -118,5 +118,6 @@
|
||||
"button_create": "Создать",
|
||||
"badge_you": "вы",
|
||||
"badge_owner": "влад.",
|
||||
"update_available": "Есть новая версия приложения. <a href=\"\">Обновить</a>."
|
||||
"update_available": "Есть новая версия приложения. <a href=\"\">Обновить</a>.",
|
||||
"user_not_found": "Не найден"
|
||||
}
|
||||
|
||||
+3
-1
@@ -71,6 +71,7 @@
|
||||
"numeric_confirmation_code_prompt": "Numbers only",
|
||||
"button_confirm": "Confirm",
|
||||
"invalid_content": "invalid content",
|
||||
"user_not_found": "Not found",
|
||||
"badge_you": "you",
|
||||
"badge_owner": "owner",
|
||||
"menu_item_info": "Info",
|
||||
@@ -241,6 +242,7 @@
|
||||
"button_create": "Создать",
|
||||
"badge_you": "вы",
|
||||
"badge_owner": "влад.",
|
||||
"update_available": "Есть новая версия приложения. <a href=\"\">Обновить</a>."
|
||||
"update_available": "Есть новая версия приложения. <a href=\"\">Обновить</a>.",
|
||||
"user_not_found": "Не найден"
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
// This is a generated file. Don't edit.
|
||||
|
||||
export const PACKAGE_VERSION = "0.15.10-rc1";
|
||||
export const PACKAGE_VERSION = "0.15.10-rc2";
|
||||
|
||||
@@ -130,7 +130,15 @@ export default class ChatMessage extends React.Component {
|
||||
</a>
|
||||
</span>
|
||||
</div>
|
||||
{fullDisplay ? <div className="author">{this.props.userName}</div> : null}
|
||||
{fullDisplay ?
|
||||
<div className="author">
|
||||
<FormattedMessage id="user_not_found" defaultMessage="Not found"
|
||||
description="In place of a user's full name when the user is not found.">{
|
||||
(notFound) => {return this.props.userName || <i>{notFound}</i>}
|
||||
}</FormattedMessage>
|
||||
</div>
|
||||
: null
|
||||
}
|
||||
</div>
|
||||
</li>
|
||||
);
|
||||
|
||||
+10
-3
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user