aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-03-06 10:33:44 -0500
committerDrew DeVault <sir@cmpwn.com>2020-03-09 09:12:32 -0400
commitdf20f1cd03fcc369d3927b0936d0d126974f3b9a (patch)
treed2ff8a2511425cd0215e9b3c5365f8e1d7b084e6 /widgets
parent4711933b41246629af3946ffc9fe0eeaa94e6639 (diff)
downloadaerc-df20f1cd03fcc369d3927b0936d0d126974f3b9a.tar.gz
Refactoring: remove store from PartInfo
Diffstat (limited to 'widgets')
-rw-r--r--widgets/msgviewer.go1
-rw-r--r--widgets/providesmessage.go1
2 files changed, 0 insertions, 2 deletions
diff --git a/widgets/msgviewer.go b/widgets/msgviewer.go
index 36e7997d..9c759724 100644
--- a/widgets/msgviewer.go
+++ b/widgets/msgviewer.go
@@ -286,7 +286,6 @@ func (mv *MessageViewer) SelectedMessagePart() *PartInfo {
Index: part.index,
Msg: part.msg.MessageInfo(),
Part: part.part,
- Store: mv.Store(),
}
}
diff --git a/widgets/providesmessage.go b/widgets/providesmessage.go
index 06115d5f..b06825fa 100644
--- a/widgets/providesmessage.go
+++ b/widgets/providesmessage.go
@@ -10,7 +10,6 @@ type PartInfo struct {
Index []int
Msg *models.MessageInfo
Part *models.BodyStructure
- Store *lib.MessageStore
}
type ProvidesMessage interface {