forked from CringeStudios/gamja
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")
This commit is contained in:
parent
4780b9c709
commit
aa9aa78d71
@ -1034,7 +1034,7 @@ export default class App extends Component {
|
|||||||
case "READ":
|
case "READ":
|
||||||
target = msg.params[0];
|
target = msg.params[0];
|
||||||
let bound = msg.params[1];
|
let bound = msg.params[1];
|
||||||
if (!client.isMyNick(msg.prefix.name) || bound === "*" || !bound.startsWith("timestamp=")) {
|
if (bound === "*" || !bound.startsWith("timestamp=")) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
let readReceipt = { time: bound.replace("timestamp=", "") };
|
let readReceipt = { time: bound.replace("timestamp=", "") };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user