Skip to content
Snippets Groups Projects
Commit 441f17ee authored by deuce's avatar deuce
Browse files

get_message_offsets() no longer provies the headers.

parent 8d2b81bb
No related branches found
No related tags found
No related merge requests found
......@@ -157,7 +157,7 @@ for(displayed=0;displayed<max_messages && last_offset >= 0;last_offset--) {
if(hdr==null)
continue;
template.messages[displayed.toString()]=hdr;
template.messages[displayed.toString()].attachments=count_attachments(msgarray[last_offset].hdr,msgbase.get_msg_body(true,msgarray[last_offset].offset));
template.messages[displayed.toString()].attachments=count_attachments(hdr,msgbase.get_msg_body(true,msgarray[last_offset].offset));
template.messages[displayed.toString()].offset=msgarray[last_offset].offset;
displayed++;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment