automatically remove mailboxes in empty rooms, fixes #3
This commit is contained in:
16
bot/bot.go
16
bot/bot.go
@@ -19,14 +19,14 @@ import (
|
||||
|
||||
// Bot represents matrix bot
|
||||
type Bot struct {
|
||||
noowner bool
|
||||
federation bool
|
||||
prefix string
|
||||
domain string
|
||||
rooms sync.Map
|
||||
log *logger.Logger
|
||||
lp *linkpearl.Linkpearl
|
||||
handledJoinEvents sync.Map
|
||||
noowner bool
|
||||
federation bool
|
||||
prefix string
|
||||
domain string
|
||||
rooms sync.Map
|
||||
log *logger.Logger
|
||||
lp *linkpearl.Linkpearl
|
||||
handledMembershipEvents sync.Map
|
||||
}
|
||||
|
||||
// New creates a new matrix bot
|
||||
|
||||
Reference in New Issue
Block a user