mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-20 10:33:41 -05:00
web/notifications: increase max length
This commit is contained in:
parent
95e9813ff3
commit
37e43a41e4
1 changed files with 2 additions and 2 deletions
|
@ -142,8 +142,8 @@ export class StateStore {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
let body = evt.content.body
|
let body = evt.content.body
|
||||||
if (body.length > 200) {
|
if (body.length > 400) {
|
||||||
body = body.slice(0, 150) + " […]"
|
body = body.slice(0, 350) + " […]"
|
||||||
}
|
}
|
||||||
const memberEvt = room.getStateEvent("m.room.member", evt.sender)
|
const memberEvt = room.getStateEvent("m.room.member", evt.sender)
|
||||||
const icon = `${getMediaURL(memberEvt?.content.avatar_url)}&image_auth=${this.imageAuthToken}`
|
const icon = `${getMediaURL(memberEvt?.content.avatar_url)}&image_auth=${this.imageAuthToken}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue