mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-17 13:08:11 -07:00
clean up nested batch logic
This commit is contained in:
+1
-1
@@ -850,7 +850,7 @@ func (client *Client) replayPrivmsgHistory(rb *ResponseBuffer, items []history.I
|
||||
if target == "" {
|
||||
target = nick
|
||||
}
|
||||
batchID = rb.StartNestedHistoryBatch(target)
|
||||
batchID = rb.StartNestedBatch(target, "chathistory")
|
||||
|
||||
isSelfMessage := func(item *history.Item) bool {
|
||||
// XXX: Params[0] is the message target. if the source of this message is an in-memory
|
||||
|
||||
Reference in New Issue
Block a user