~emersion/soju

45e2c0023a325a1e4b689eec79f23276a356f56a — Simon Ser 6 months ago 65c58ad
Skip backlog logic in downstreamConn.welcome on chathistory
1 files changed, 4 insertions(+), 0 deletions(-)

M downstream.go
M downstream.go => downstream.go +4 -0
@@ 976,6 976,10 @@ func (dc *downstreamConn) welcome() error {
	})

	dc.forEachNetwork(func(net *network) {
		if dc.caps["draft/chathistory"] || dc.user.msgStore == nil {
			return
		}

		// Only send history if we're the first connected client with that name
		// for the network
		firstClient := true