diff --git a/html/src/app.js b/html/src/app.js index 45e8ca55..3cbb4085 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -1384,10 +1384,8 @@ speechSynthesis.getVoices(); } else { json.location = ''; } - if (json.location && json.location === 'offline') { - json.$online_for = API.currentUser.$online_for; - json.$offline_for = API.currentUser.$offline_for; - } + json.$online_for = API.currentUser.$online_for; + json.$offline_for = API.currentUser.$offline_for; } if (typeof json.statusDescription !== 'undefined') { json.statusDescription = $app.replaceBioSymbols( diff --git a/html/src/index.pug b/html/src/index.pug index 211ec3d4..c6f157bf 100644 --- a/html/src/index.pug +++ b/html/src/index.pug @@ -1560,13 +1560,13 @@ html span.extra(v-else) timer(:epoch="user.$location_at") .x-friend-list(style="max-height:none") + //- .x-friend-item(v-if="userDialog.id !== API.currentUser.id" style="width:100%;cursor:default") + //- .detail + //- span.name Note + //- span.extra(v-text="userDialog.ref.note") .x-friend-item(style="width:100%;cursor:default") .detail span.name Note - span.extra(v-text="userDialog.ref.note") - .x-friend-item(style="width:100%;cursor:default") - .detail - span.name Local Note el-input.extra(v-model="userDialog.memo" type="textarea" :rows="2" :autosize="{ minRows: 1, maxRows: 20 }" placeholder="Click to add a note" size="mini" resize="none") .x-friend-item(style="width:100%;cursor:default") .detail