Skip backlog logic in downstreamConn.welcome on chathistory
This commit is contained in:
parent
65c58adbd9
commit
45e2c0023a
@ -976,6 +976,10 @@ func (dc *downstreamConn) welcome() error {
|
|||||||
})
|
})
|
||||||
|
|
||||||
dc.forEachNetwork(func(net *network) {
|
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
|
// Only send history if we're the first connected client with that name
|
||||||
// for the network
|
// for the network
|
||||||
firstClient := true
|
firstClient := true
|
||||||
|
Loading…
Reference in New Issue
Block a user