bug fixes

This commit is contained in:
or-else
2017-09-14 11:43:27 -07:00
parent e30568ecd5
commit e3d95eafe1
2 changed files with 9 additions and 7 deletions
+3 -3
View File
@@ -609,7 +609,7 @@ table.permission-editor td.checkbox {
} }
/* Online-offline indicator positioned inside avatar-box */ /* Online-offline indicator positioned inside avatar-box */
.contact-box .online, .offline { .avatar-box .online, .offline {
display: inline-block; display: inline-block;
width: 0.75rem; width: 0.75rem;
min-width: 0.75rem; min-width: 0.75rem;
@@ -621,10 +621,10 @@ table.permission-editor td.checkbox {
right: 0; right: 0;
bottom: 0.1rem; bottom: 0.1rem;
} }
.contact-box .online { .avatar-box .online {
background-color: #4caf50; background-color: #4caf50;
} }
.contact-box .offline { .avatar-box .offline {
background-color: #C0C0C0; background-color: #C0C0C0;
} }
+6 -4
View File
@@ -2876,10 +2876,12 @@
}); });
}, },
tnMeMetaDesc: function(desc) { tnMeMetaDesc: function(desc) {
this.setState({ if (desc && desc.public) {
sidePanelTitle: desc.public.fn, this.setState({
sidePanelAvatar: makeImageUrl(desc.public.photo) sidePanelTitle: desc.public.fn,
}); sidePanelAvatar: makeImageUrl(desc.public.photo)
});
}
}, },
// Sending "received" notifications // Sending "received" notifications
tnData: function(data) { tnData: function(data) {