fix autojoins
This commit is contained in:
parent
aee56030ba
commit
abb6c027bf
1 changed files with 1 additions and 4 deletions
|
|
@ -64,13 +64,10 @@ func (b *Bot) Start() error {
|
|||
if err := b.syncRooms(ctx); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := b.lp.GetClient().SetPresence(event.PresenceOnline); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
b.initSync()
|
||||
b.log.Info("Postmoogle has been started")
|
||||
return b.lp.GetClient().Sync()
|
||||
return b.lp.Start()
|
||||
}
|
||||
|
||||
// Send email to matrix room
|
||||
|
|
|
|||
Loading…
Reference in a new issue