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
|
|
@ -1059,7 +1059,7 @@ func (channel *Channel) replayHistoryItems(rb *ResponseBuffer, items []history.I
|
|||
}
|
||||
}
|
||||
|
||||
batchID := rb.StartNestedHistoryBatch(chname)
|
||||
batchID := rb.StartNestedBatch(chname, "chathistory")
|
||||
defer rb.EndNestedBatch(batchID)
|
||||
|
||||
for _, item := range items {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue