forked from External/ergo
clean up nested batch logic
This commit is contained in:
parent
d082ec7ab9
commit
38a6d17ee5
5 changed files with 9 additions and 19 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue