Skip to content

Commit 244b323

Browse files
Author name display now depends on number of participants, not channel type (#439)
1 parent 181c05a commit 244b323

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
44
# Upcoming
55

66
### ✅ Added
7-
- Config the audioRecorder that is used when sending async voice messages.
7+
- Config the audioRecorder that is used when sending async voice messages
8+
9+
### 🔄 Changed
10+
- Author name display now depends on number of participants, not channel type
811

912
### 🔄 Changed
1013

Sources/StreamChatSwiftUI/ChatChannel/MessageList/MessageContainerView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ public struct MessageContainerView<Factory: ViewFactory>: View {
212212
}
213213
}
214214
} else if !message.isRightAligned
215-
&& !channel.isDirectMessageChannel
215+
&& channel.memberCount > 2
216216
&& messageListConfig.messageDisplayOptions.showAuthorName {
217217
factory.makeMessageAuthorAndDateView(for: message)
218218
} else if messageListConfig.messageDisplayOptions.showMessageDate {
Loading
-4.8 KB
Loading

0 commit comments

Comments
 (0)