before update add chat

This commit is contained in:
2026-06-10 22:29:34 +03:00
parent 94851c8b82
commit 1f7f25841f
28 changed files with 1008 additions and 813 deletions

View File

@@ -25,7 +25,8 @@
const props = defineProps<{
access?: 0 | 1 | 2
state?: 1 | 2 | 3 | 4
state?: 1 | 2 | 3 | 4
conference?: boolean
time?: number
}>()
@@ -33,7 +34,9 @@
? chatAccess(props.access)
: props.state
? chatState(props.state)
: { info: '', icon: '', color: '', label: '', description: '' }
: props.conference
? { info: '', icon: 'mdi-video-box', color: 'grey', label: 'chat_type__label_conference', description: 'chat_type__description_conference' }
: { info: '', icon: '', color: '', label: '', description: '' }
function getDate (d: number) {
return new Date(d * 1000).getFullYear() === new Date(Date.now()).getFullYear()