mirror of
https://github.com/urbit/shrub.git
synced 2024-11-28 22:33:06 +03:00
Merge pull request #3292 from urbit/la/chat-read
chat: don't show green line when unread is on page 1
This commit is contained in:
commit
97bbac159c
@ -174,7 +174,9 @@ export class ChatWindow extends Component {
|
||||
<ChatMessage
|
||||
unreadRef={this.unreadReference}
|
||||
isLastUnread={
|
||||
props.unreadCount > 0 && i === props.unreadCount - 1
|
||||
props.unreadCount > 0 &&
|
||||
i === props.unreadCount - 1 &&
|
||||
state.numPages !== 1
|
||||
}
|
||||
msg={msg}
|
||||
previousMsg={messages[i - 1]}
|
||||
|
Loading…
Reference in New Issue
Block a user