mirror of
https://github.com/irislib/iris-messenger.git
synced 2024-09-19 09:43:29 +00:00
fix safari?
This commit is contained in:
parent
519da3b4e6
commit
facf75ad96
@ -30,6 +30,7 @@ class Footer extends Component {
|
||||
|
||||
render() {
|
||||
const key = Session.getPubKey();
|
||||
if (!key) { return; }
|
||||
const activeRoute = this.state.activeRoute;
|
||||
|
||||
if (this.chatId) {
|
||||
|
@ -96,11 +96,12 @@ class Header extends Component {
|
||||
}
|
||||
|
||||
render() {
|
||||
const key = Session.getPubKey();
|
||||
if (!key) { return; }
|
||||
const activeRoute = this.state.activeRoute;
|
||||
const chat = Session.channels[this.chatId];
|
||||
const isTyping = chat && chat.isTyping;
|
||||
const onlineStatus = !(chat && chat.uuid) && activeRoute && activeRoute.length > 20 && !isTyping && this.getOnlineStatusText();
|
||||
const key = Session.getPubKey();
|
||||
const searchBox = this.chatId ? '' : html`<${SearchBox}/>`;
|
||||
|
||||
return html`
|
||||
|
@ -31,6 +31,7 @@ class Identicon extends Component {
|
||||
|
||||
componentDidMount() {
|
||||
const pub = this.props.str;
|
||||
if (!pub) { return; }
|
||||
this.identicon = new iris.Attribute({type: 'keyID', value: pub}).identicon({width: this.props.width, showType: false});
|
||||
this.base.appendChild(this.identicon);
|
||||
if (!this.props.hidePhoto) {
|
||||
|
Loading…
Reference in New Issue
Block a user