aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/msgstore.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/msgstore.go b/lib/msgstore.go
index 2e59be7..9d537fc 100644
--- a/lib/msgstore.go
+++ b/lib/msgstore.go
@@ -157,7 +157,7 @@ func (store *MessageStore) Update(msg types.WorkerMessage) {
}
}
update = true
- case *types.MessageBody:
+ case *types.FullMessage:
if _, ok := store.pendingBodies[msg.Uid]; ok {
delete(store.pendingBodies, msg.Uid)
if cbs, ok := store.bodyCallbacks[msg.Uid]; ok {