Closed riking closed 4 years ago
Callers:
channel.go: c.bot.QueueLoadBacklog(c, true)
channel.go: b.QueueLoadBacklog(c, /* didFail= */ false)
channel.go: c.bot.QueueLoadBacklog(c, true)
config.go: b.QueueLoadBacklog(mCh, false)
queue.go: b.QueueLoadBacklog(ch, true)
queue.go: b.QueueLoadBacklog(ch /* didFail= */, true) // add extra delay
Eliminate 1 and 3 as the channel is known to be non-nil. 4: known non nil. 5, 6: known non nil.
2 - b.channels
can contain nil values. Fix.