summary refs log tree commit diff stats
path: root/widgets/providesmessage.go
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/providesmessage.go')
-rw-r--r--widgets/providesmessage.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/providesmessage.go b/widgets/providesmessage.go
index a1cfaa8..34b9011 100644
--- a/widgets/providesmessage.go
+++ b/widgets/providesmessage.go
@@ -17,6 +17,6 @@ type ProvidesMessage interface {
 	ui.Drawable
 	Store() *lib.MessageStore
 	SelectedAccount() *AccountView
-	SelectedMessage() *models.MessageInfo
+	SelectedMessage() (*models.MessageInfo, error)
 	SelectedMessagePart() *PartInfo
 }