summaryrefslogtreecommitdiff
path: root/commands/msg/recall.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msg/recall.go')
-rw-r--r--commands/msg/recall.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/msg/recall.go b/commands/msg/recall.go
index b59372a..3c9f0f2 100644
--- a/commands/msg/recall.go
+++ b/commands/msg/recall.go
@@ -51,7 +51,7 @@ func (Recall) Execute(aerc *widgets.Aerc, args []string) error {
return errors.New("Usage: recall [-f]")
}
- widget := aerc.SelectedTab().(widgets.ProvidesMessage)
+ widget := aerc.SelectedTabContent().(widgets.ProvidesMessage)
acct := widget.SelectedAccount()
if acct == nil {
return errors.New("No account selected")