lint fixes

This commit is contained in:
Ulf Gebhardt 2023-08-08 22:22:11 +02:00
parent 5c1ab88012
commit 7e697d7f9d
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -334,7 +334,7 @@ export default {
;[...this.messages, ...Message].forEach((m) => {
if (m.senderId !== this.currentUser.id) m.seen = true
m.date = new Date(m.date).toDateString()
if(!m.avatar.startsWith('/api/')){
if (!m.avatar.startsWith('/api/')) {
m.avatar = this.$filters.proxyApiUrl(m.avatar)
}
msgs[m.indexId] = m