about summary refs log tree commit homepage
path: root/lib/PublicInbox/Smsg.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/Smsg.pm')
-rw-r--r--lib/PublicInbox/Smsg.pm7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/PublicInbox/Smsg.pm b/lib/PublicInbox/Smsg.pm
index 7a47703a..5eb0723f 100644
--- a/lib/PublicInbox/Smsg.pm
+++ b/lib/PublicInbox/Smsg.pm
@@ -34,16 +34,15 @@ sub get_val ($$) {
 }
 
 sub to_doc_data {
-        my ($self, $oid, $mid0) = @_;
-        $oid = '' unless defined $oid;
+        my ($self) = @_;
         join("\n",
                 $self->subject,
                 $self->from,
                 $self->references,
                 $self->to,
                 $self->cc,
-                $oid,
-                $mid0,
+                $self->{blob},
+                $self->{mid},
                 $self->{bytes} // '',
                 $self->{lines} // ''
         );