mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-15 00:19:29 +01:00
fix incorrect batch parameter in draft/extended-isupport (#2197)
This commit is contained in:
parent
726d997d07
commit
eddd4cc723
@ -463,7 +463,7 @@ func (server *Server) RplISupport(client *Client, rb *ResponseBuffer) {
|
|||||||
|
|
||||||
func (server *Server) sendRplISupportLines(client *Client, rb *ResponseBuffer, lines [][]string) {
|
func (server *Server) sendRplISupportLines(client *Client, rb *ResponseBuffer, lines [][]string) {
|
||||||
if rb.session.capabilities.Has(caps.ExtendedISupport) {
|
if rb.session.capabilities.Has(caps.ExtendedISupport) {
|
||||||
batchID := rb.StartNestedBatch("chathistory", caps.ExtendedISupportBatchType)
|
batchID := rb.StartNestedBatch(caps.ExtendedISupportBatchType)
|
||||||
defer rb.EndNestedBatch(batchID)
|
defer rb.EndNestedBatch(batchID)
|
||||||
}
|
}
|
||||||
translatedISupport := client.t("are supported by this server")
|
translatedISupport := client.t("are supported by this server")
|
||||||
|
Loading…
Reference in New Issue
Block a user