remove debug
This commit is contained in:
parent
13776ad7a6
commit
9b1eb161e7
1 changed files with 0 additions and 5 deletions
|
|
@ -45,11 +45,6 @@ func email2content(email *utils.Email, cfg settings, threadID id.EventID) *event
|
||||||
|
|
||||||
// GetMapping returns mapping of mailbox = room
|
// GetMapping returns mapping of mailbox = room
|
||||||
func (b *Bot) GetMapping(mailbox string) (id.RoomID, bool) {
|
func (b *Bot) GetMapping(mailbox string) (id.RoomID, bool) {
|
||||||
b.rooms.Range(func(key, value any) bool {
|
|
||||||
b.log.Debug("MAPPING %v=%v", key, value)
|
|
||||||
|
|
||||||
return true
|
|
||||||
})
|
|
||||||
v, ok := b.rooms.Load(mailbox)
|
v, ok := b.rooms.Load(mailbox)
|
||||||
if !ok {
|
if !ok {
|
||||||
return "", ok
|
return "", ok
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue