Display sender name in last message for group clip clops (#10320)

Co-authored-by: Samuel Newman <mozzius@protonmail.com>
This commit is contained in:
DS Boyce
2026-04-22 10:03:53 -07:00
committed by GitHub
parent c7e9efbf99
commit dcc06a90a0
11 changed files with 253 additions and 134 deletions
+6 -3
View File
@@ -110,14 +110,16 @@ export function parseConvoView(
owner = member as GroupConvoMember
}
} else {
throw new Error(
logger.warn(
'Expected a GroupConvoMember, got an unknown kind of member',
)
return null
}
}
if (!owner) {
throw new Error('No owner found in group convo')
logger.warn('No owner found in group convo')
return null
}
return {
@@ -136,7 +138,8 @@ export function parseConvoView(
const otherUser = convoView.members.find(m => m.did !== ownDid)
if (!otherUser) {
throw new Error('No other user found in direct convo')
logger.warn('No other user found in direct convo')
return null
}
return {