зеркало из https://github.com/nextcloud/spreed.git
Show online status and status icon in Talk as discussed
Also being in a conversation/call should make you appear online as before. Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Родитель
5e4bbc98c9
Коммит
b89c16fa2f
|
@ -33,6 +33,7 @@
|
|||
:disable-tooltip="disableTooltip"
|
||||
:disable-menu="disableMenu"
|
||||
:show-user-status="showUserStatus"
|
||||
:show-user-status-compact="showUserStatusCompact"
|
||||
:size="size" />
|
||||
<div v-else
|
||||
class="guest"
|
||||
|
@ -87,6 +88,10 @@ export default {
|
|||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
showUserStatusCompact: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
// Determines which icon is displayed
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
:disable-tooltip="true"
|
||||
:size="44"
|
||||
:show-user-status="!isSearched"
|
||||
:show-user-status-compact="false"
|
||||
:name="computedName"
|
||||
:source="participant.source"
|
||||
:offline="isOffline" />
|
||||
|
@ -209,7 +210,7 @@ export default {
|
|||
},
|
||||
|
||||
isOffline() {
|
||||
return this.participant.status === 'offline' || this.sessionId === '0'
|
||||
return /* this.participant.status === 'offline' || */ this.sessionId === '0'
|
||||
},
|
||||
isGuest() {
|
||||
return [PARTICIPANT.TYPE.GUEST, PARTICIPANT.TYPE.GUEST_MODERATOR].indexOf(this.participantType) !== -1
|
||||
|
|
|
@ -44,7 +44,7 @@ const userStatus = {
|
|||
return false
|
||||
}
|
||||
|
||||
return userData.status === 'away' || userData.status === 'dnd'
|
||||
return userData.status === 'dnd'
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче