diff options
author | Reto Brunner <reto@labrat.space> | 2019-07-31 09:50:07 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-08-02 09:26:10 -0400 |
commit | 9570f4b4d0cdf525ce1695971636a0b58f1a091b (patch) | |
tree | 4a6d8773945d43ef8db4b8e8b298be306c822081 /lib/socket.go | |
parent | 04ccbd09b1f9369949b89b4815752d08a0ca9786 (diff) |
msglist: add initialization state
Make the msglist aware of whether we are still initializing or not.
We never stopped spinning the msglist if we didn't get any Directories back
from types.ListDirectories.
With this change, we can set the init state from the account and display
the spinner only if we don't know whether we have directories or not and else
the "no messages" string from the config.
Diffstat (limited to 'lib/socket.go')
0 files changed, 0 insertions, 0 deletions