Skip to content
Snippets Groups Projects
Commit 26823eed authored by rswindell's avatar rswindell
Browse files

Re-generates message "id" property if it's blank.

parent 0eb7d78a
No related branches found
No related tags found
No related merge requests found
......@@ -511,7 +511,7 @@ js_get_msg_header(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *
,NULL,NULL,JSPROP_READONLY|JSPROP_ENUMERATE);
/* Message-ID */
if(msg.id!=NULL)
if(msg.id!=NULL && *msg.id!=0)
val=msg.id;
else {
if(p->smb.subnum==INVALID_SUB)
......
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