diff options
Diffstat (limited to 'commands/account')
-rw-r--r-- | commands/account/next.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/commands/account/next.go b/commands/account/next.go index 4245dd60..e14b14fb 100644 --- a/commands/account/next.go +++ b/commands/account/next.go @@ -66,6 +66,10 @@ func (np NextPrevMsg) Execute(args []string) error { if mv, ok := app.SelectedTabContent().(*app.MessageViewer); ok { reloadViewer := func(nextMsg *models.MessageInfo) { + if nextMsg.Error != nil { + app.PushError(nextMsg.Error.Error()) + return + } lib.NewMessageStoreView(nextMsg, mv.MessageView().SeenFlagSet(), store, app.CryptoProvider(), app.DecryptKeys, func(view lib.MessageView, err error) { |