3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-26 22:09:24 +01:00

fix incorrect batch parameter in draft/extended-isupport (#2197)

This commit is contained in:
Shivaram Lingamneni 2024-10-27 03:11:20 +01:00 committed by GitHub
parent 726d997d07
commit eddd4cc723
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -463,7 +463,7 @@ func (server *Server) RplISupport(client *Client, rb *ResponseBuffer) {
func (server *Server) sendRplISupportLines(client *Client, rb *ResponseBuffer, lines [][]string) {
if rb.session.capabilities.Has(caps.ExtendedISupport) {
batchID := rb.StartNestedBatch("chathistory", caps.ExtendedISupportBatchType)
batchID := rb.StartNestedBatch(caps.ExtendedISupportBatchType)
defer rb.EndNestedBatch(batchID)
}
translatedISupport := client.t("are supported by this server")