Skip backlog logic in downstreamConn.welcome on chathistory
git-svn-id: file:///srv/svn/repo/suika/trunk@496 f0ae65fe-ee39-954e-97ec-027ff2717ef4
This commit is contained in:
parent
e32cf2acd9
commit
562beca198
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user