fix autojoins
This commit is contained in:
@@ -64,13 +64,10 @@ func (b *Bot) Start() error {
|
|||||||
if err := b.syncRooms(ctx); err != nil {
|
if err := b.syncRooms(ctx); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if err := b.lp.GetClient().SetPresence(event.PresenceOnline); err != nil {
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
|
|
||||||
b.initSync()
|
b.initSync()
|
||||||
b.log.Info("Postmoogle has been started")
|
b.log.Info("Postmoogle has been started")
|
||||||
return b.lp.GetClient().Sync()
|
return b.lp.Start()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Send email to matrix room
|
// Send email to matrix room
|
||||||
|
|||||||
Reference in New Issue
Block a user