diff options
author | Jelle Besseling <jelle@pingiun.com> | 2019-08-08 12:48:51 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-08-12 08:58:57 +0900 |
commit | 4478c6a4b7e0bc35211d4ab7c681d5d36563c274 (patch) | |
tree | a7bd5bb6e1fcec27e7cc1362138bd39080043b88 /widgets/msgviewer.go | |
parent | 5b523880b4b4cd2abd9457b4b09c384af33be14b (diff) | |
download | aerc-4478c6a4b7e0bc35211d4ab7c681d5d36563c274.tar.gz |
Ignore scroll command when msgstore is nil
Fixes ~sircmpwn/aerc2#205. Many functions do a nil check on the store,
so this changes Store() so it returns nil when msglist is nil.
It also places the Scroll() behind the nil check in the next-message command.
https://todo.sr.ht/~sircmpwn/aerc2/205
Diffstat (limited to 'widgets/msgviewer.go')
0 files changed, 0 insertions, 0 deletions