mirror of
https://codeberg.org/emersion/gamja
synced 2025-03-13 07:48:37 +01:00
Always mark own messages as read
This commit is contained in:
parent
429450e060
commit
b289fd10b7
@ -364,6 +364,10 @@ export default class App extends Component {
|
||||
let isRead = this.hasReceipt(bufName, ReceiptType.READ, msg);
|
||||
// TODO: messages coming from infinite scroll shouldn't trigger notifications
|
||||
|
||||
if (client.isMyNick(msg.prefix.name)) {
|
||||
isRead = true;
|
||||
}
|
||||
|
||||
let msgUnread = Unread.NONE;
|
||||
if ((msg.command == "PRIVMSG" || msg.command == "NOTICE") && !isRead) {
|
||||
let target = msg.params[0];
|
||||
|
Loading…
x
Reference in New Issue
Block a user