feat(chat): never show our own nickname in bubbles mode

The end side and the author-colour wash already attribute own bubbles,
so the @name heading on the first bubble of an own run was redundant.
Received bubbles keep their sender names; matrix mode is unchanged.
This commit is contained in:
callebtc 2026-08-01 20:45:42 +02:00
parent d85401fb49
commit bd5ae8702a

View File

@ -960,8 +960,9 @@ private fun BubbleTextMessageLayout(
) {
Column(verticalArrangement = Arrangement.spacedBy(2.dp)) {
// The sender's name heads the first bubble of their run, like classic group
// messengers, instead of floating above it. Continuation bubbles skip it.
if (showSender) {
// messengers, instead of floating above it. Own bubbles never show a name —
// the end side is attribution enough. Continuation bubbles skip it too.
if (showSender && !isSelf) {
AnnotatedClickableText(
text = senderText,
annotationTags = listOf("nickname_click"),