Skip to content

Commit

Permalink
web/notifications: increase max length
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Oct 18, 2024
1 parent 95e9813 commit 37e43a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/api/statestore/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`
Expand Down

0 comments on commit 37e43a4

Please sign in to comment.