GODT-1742: Implement hide All Mail
This commit is contained in:
committed by
James Houlahan
parent
395e7b54f6
commit
a7a7d9a3d4
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user