summaryrefslogtreecommitdiff
path: root/worker/types/messages.go
diff options
context:
space:
mode:
authorBen Fiedler <git@services.bfiedler.ch>2020-04-24 22:31:39 +0200
committerDrew DeVault <sir@cmpwn.com>2020-05-01 11:10:08 -0400
commit05fa79eb8efa02e39962c08231ec0e40cafe0020 (patch)
tree90cc60bbc6ec1829021abbb219ba9e49d7b653a2 /worker/types/messages.go
parentb650bb30a2d3ebd527c66dc7f7b229ca238fe297 (diff)
downloadaerc-05fa79eb8efa02e39962c08231ec0e40cafe0020.zip
store.FetchFull: Change callback type to expose entire message
This is a prerequisite for allowing the FetchFull message to return both the message content and the message headers.
Diffstat (limited to 'worker/types/messages.go')
-rw-r--r--worker/types/messages.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/worker/types/messages.go b/worker/types/messages.go
index e820585..6422ef5 100644
--- a/worker/types/messages.go
+++ b/worker/types/messages.go
@@ -166,6 +166,7 @@ type MessageInfo struct {
type FullMessage struct {
Message
+ Info *models.MessageInfo
Content *models.FullMessage
}