fix incorrect chathistory batch types

This was introduced in 38a6d17ee5
This commit is contained in:
Shivaram Lingamneni
2023-06-02 06:56:45 -04:00
parent 2aded271c5
commit f100c1d0fa
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -850,7 +850,7 @@ func (client *Client) replayPrivmsgHistory(rb *ResponseBuffer, items []history.I
if target == "" {
target = nick
}
batchID = rb.StartNestedBatch(target, "chathistory")
batchID = rb.StartNestedBatch("chathistory", target)
isSelfMessage := func(item *history.Item) bool {
// XXX: Params[0] is the message target. if the source of this message is an in-memory