mirror of
https://github.com/teacat/chaturbate-dvr.git
synced 2025-10-29 16:59:59 +00:00
Fixed Resume didnt save is_pause: false in config
This commit is contained in:
@@ -141,5 +141,5 @@ func (ch *Channel) Resume(startSeq int) {
|
||||
ch.Info("channel resumed")
|
||||
|
||||
<-time.After(time.Duration(startSeq) * time.Second)
|
||||
ch.Monitor()
|
||||
go ch.Monitor()
|
||||
}
|
||||
|
||||
@@ -143,7 +143,7 @@ func (m *Manager) ResumeChannel(username string) error {
|
||||
if !ok {
|
||||
return nil
|
||||
}
|
||||
go thing.(*channel.Channel).Resume(0)
|
||||
thing.(*channel.Channel).Resume(0)
|
||||
|
||||
if err := m.SaveConfig(); err != nil {
|
||||
return fmt.Errorf("save config: %w", err)
|
||||
|
||||
Reference in New Issue
Block a user