Mark the lead's messages and answers as the lead's, not the human's

This commit is contained in:
Ian Gulliver
2026-10-20 12:20:51 -07:00
parent 181482e5d0
commit 0f33ad4524
14 changed files with 93 additions and 23 deletions
+3 -3
View File
@@ -1154,7 +1154,7 @@ struct RowView: View {
TrailingBubble {
VStack(alignment: .leading, spacing: 2) {
HStack(spacing: 4) {
Text(actor)
Text(actorName(actor))
WhenText(when: when)
}
.font(Fonts.font(11))
@@ -1384,9 +1384,9 @@ private struct QuestionBubble: View {
return item.state.rawValue
}
if let options = answer.options, !options.isEmpty {
return "\(answer.user) chose: \(options.joined(separator: "; "))"
return "\(actorName(answer.user)) chose: \(options.joined(separator: "; "))"
}
return "\(answer.user) answered: \(firstLine(answer.text ?? ""))"
return "\(actorName(answer.user)) answered: \(firstLine(answer.text ?? ""))"
}
}