forked from External/ergo
fix znc.in/playback for individual DM targets
This is a regression introduced in 0d05ab4ff4; playback for an individual
DM target would play all DMs.
This commit is contained in:
parent
351eb8ad27
commit
ac806e5c62
2 changed files with 14 additions and 6 deletions
|
|
@ -747,7 +747,7 @@ func (client *Client) playReattachMessages(session *Session) {
|
|||
}
|
||||
if !session.autoreplayMissedSince.IsZero() && !hasHistoryCaps {
|
||||
rb := NewResponseBuffer(session)
|
||||
zncPlayPrivmsgs(client, rb, "", time.Now().UTC(), session.autoreplayMissedSince)
|
||||
zncPlayPrivmsgsFromAll(client, rb, time.Now().UTC(), session.autoreplayMissedSince)
|
||||
rb.Send(true)
|
||||
}
|
||||
session.autoreplayMissedSince = time.Time{}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue