mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-04 10:52:18 +03:00
chat-fe: autodismiss mentions whilst in channel
This commit is contained in:
parent
84694231ed
commit
908e2d32e6
@ -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