diff --git a/engine/fedilogue.go b/engine/fedilogue.go index c809d7a..bc2beca 100644 --- a/engine/fedilogue.go +++ b/engine/fedilogue.go @@ -31,8 +31,6 @@ func main() { p = bluemonday.NewPolicy() spaceReg = regexp.MustCompile(`\s+`) - go startctl(reportPostChan) - for _, endpoint := range settings.Autostart { log.Print("Autostarting " + endpoint) ri_mutex.Lock() @@ -46,6 +44,8 @@ func main() { ri_mutex.Unlock() } + go startctl(reportPostChan) + go webmain(reportPostChan) for { // Write posts v := <-reportPostChan