From aa9aa78d715c720f130c96848b4f9cb8f68e7013 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sat, 3 Sep 2022 14:35:49 +0200 Subject: [PATCH] Fix ignored MARKREAD messages The prefix is a remnant of the soju extension. The IRCv3 one doesn't have it. Fixes: 1428ec4d4991 ("Add support for draft/read-marker") --- components/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/app.js b/components/app.js index 78ab59c..2eacfc2 100644 --- a/components/app.js +++ b/components/app.js @@ -1034,7 +1034,7 @@ export default class App extends Component { case "READ": target = msg.params[0]; let bound = msg.params[1]; - if (!client.isMyNick(msg.prefix.name) || bound === "*" || !bound.startsWith("timestamp=")) { + if (bound === "*" || !bound.startsWith("timestamp=")) { break; } let readReceipt = { time: bound.replace("timestamp=", "") };