1
0

GODT-1742: Implement hide All Mail

This commit is contained in:
Leander Beernaert
2022-10-20 14:38:42 +02:00
committed by James Houlahan
parent 395e7b54f6
commit a7a7d9a3d4
8 changed files with 88 additions and 5 deletions

View File

@ -170,7 +170,11 @@ func (bridge *Bridge) GetShowAllMail() bool {
}
func (bridge *Bridge) SetShowAllMail(show bool) error {
panic("TODO")
bridge.users.IterValues(func(user *user.User) {
user.SetShowAllMail(show)
})
return bridge.vault.SetShowAllMail(show)
}
func (bridge *Bridge) GetAutostart() bool {