mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-14 19:05:01 -05:00
Fix ignored MARKREAD messages
The prefix is a remnant of the soju extension. The IRCv3 one
doesn't have it.
Fixes: 1428ec4d49
("Add support for draft/read-marker")
This commit is contained in:
parent
4780b9c709
commit
aa9aa78d71
1 changed files with 1 additions and 1 deletions
|
@ -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=", "") };
|
||||
|
|
Loading…
Reference in a new issue