diff options
Diffstat (limited to 'widgets/account.go')
-rw-r--r-- | widgets/account.go | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/widgets/account.go b/widgets/account.go index 824f958e..0948c5c6 100644 --- a/widgets/account.go +++ b/widgets/account.go @@ -165,12 +165,16 @@ func (acct *AccountView) Store() *lib.MessageStore { return acct.msglist.Store() } +func (acct *AccountView) SelectedAccount() *AccountView { + return acct +} + func (acct *AccountView) SelectedMessage() *types.MessageInfo { return acct.msglist.Selected() } -func (acct *AccountView) SelectedAccount() *AccountView { - return acct +func (acct *AccountView) SelectedMessagePart() *PartInfo { + return nil } func (acct *AccountView) onMessage(msg types.WorkerMessage) { |