mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-02 12:05:28 +03:00
Merge pull request #3270 from urbit/la/dismiss-unread
chat: dismiss unread on scroll to bottom
This commit is contained in:
commit
3660d30cb1
@ -99,6 +99,7 @@ export class ChatWindow extends Component {
|
||||
scrollIsAtBottom() {
|
||||
if (this.state.numPages !== 1) {
|
||||
this.setState({ numPages: 1 });
|
||||
this.dismissUnread();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user