Add support for draft/event-playback
This commit is contained in:
@@ -13,6 +13,7 @@ const permanentCaps = [
|
||||
"setname",
|
||||
|
||||
"draft/chathistory",
|
||||
"draft/event-playback",
|
||||
|
||||
"soju.im/bouncer-networks",
|
||||
];
|
||||
@@ -160,6 +161,7 @@ export default class Client extends EventTarget {
|
||||
msgBatch = this.batches.get(msg.tags["batch"]);
|
||||
if (msgBatch) {
|
||||
msgBatch.messages.push(msg);
|
||||
msg.batch = msgBatch;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user