Fix broken conversation

This commit is contained in:
Pleroma User 2025-10-07 06:48:17 +00:00 committed by HJ
commit 00ba6b7c5d
8 changed files with 47 additions and 26 deletions

View file

@ -2,7 +2,7 @@ export const muteFilterHits = (muteFilters, status) => {
const statusText = status.text.toLowerCase()
const statusSummary = status.summary.toLowerCase()
const replyToUser = status.in_reply_to_screen_name?.toLowerCase()
const poster = status.user.screen_name.toLowerCase()
const poster = status.user.screen_name?.toLowerCase()
const mentions = (status.attentions || []).map(att => att.screen_name.toLowerCase())

View file

@ -46,7 +46,7 @@ const highlightStyle = (prefs) => {
const highlightClass = (user) => {
return 'USER____' + user.screen_name
.replace(/\./g, '_')
?.replace(/\./g, '_')
.replace(/@/g, '_AT_')
}