1
0
Fork 0
forked from Mirrors/gomuks

web/notifications: increase max length

This commit is contained in:
Tulir Asokan 2024-10-18 15:16:44 +03:00
parent 95e9813ff3
commit 37e43a41e4

View file

@ -142,8 +142,8 @@ export class StateStore {
return
}
let body = evt.content.body
if (body.length > 200) {
body = body.slice(0, 150) + " […]"
if (body.length > 400) {
body = body.slice(0, 350) + " […]"
}
const memberEvt = room.getStateEvent("m.room.member", evt.sender)
const icon = `${getMediaURL(memberEvt?.content.avatar_url)}&image_auth=${this.imageAuthToken}`