Skip to content
This repository was archived by the owner on Jun 16, 2023. It is now read-only.

Commit bd7eebb

Browse files
hide presence fix
1 parent 1fb2244 commit bd7eebb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/molecules/people-selector/PeopleSelector.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function PeopleSelector({
2828

2929
if (
3030
content && content.presenceStatusMsg &&
31-
content.presenceStatusMsg.status !== 'offline' && content.presenceStatusMsg.status !== 'unavailable' &&
31+
content.presence !== 'offline' && content.presence !== 'unavailable' &&
3232
typeof content.presenceStatusMsg.msg === 'string' && content.presenceStatusMsg.msg.length > 0
3333
) {
3434
customStatus.innerHTML = ReactDOMServer.renderToStaticMarkup(twemojify(content.presenceStatusMsg.msg.substring(0, 100), undefined, true, false, true));

src/app/organisms/profile-viewer/ProfileViewer.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ function ProfileViewer() {
416416
if (customStatusDOM) {
417417
customStatusDOM.classList.remove('d-none');
418418
if (
419-
content.presenceStatusMsg.status !== 'offline' && content.presenceStatusMsg.status !== 'unavailable' &&
419+
content.presence !== 'offline' && content.presence !== 'unavailable' &&
420420
typeof content.presenceStatusMsg.msg === 'string' && content.presenceStatusMsg.msg.length > 0
421421
) {
422422
customStatusDOM.innerHTML = ReactDOMServer.renderToStaticMarkup(twemojify(content.presenceStatusMsg.msg.substring(0, 100), undefined, true, false, true));

0 commit comments

Comments
 (0)