mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-12 15:01:38 +03:00
Merge pull request #4038 from urbit/lf/dismiss-mention
chat-fe: autodismiss mentions whilst in channel
This commit is contained in:
commit
61273d0db6
@ -182,6 +182,7 @@ export default class ChatWindow extends Component<ChatWindowProps, ChatWindowSta
|
||||
if (this.props.unreadCount === 0) return;
|
||||
this.props.api.chat.read(this.props.station);
|
||||
this.props.api.hark.readIndex({ chat: { chat: this.props.station, mention: false }});
|
||||
this.props.api.hark.readIndex({ chat: { chat: this.props.station, mention: true }});
|
||||
}
|
||||
|
||||
fetchMessages(start, end, force = false): Promise<void> {
|
||||
|
Loading…
Reference in New Issue
Block a user