mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Don't display drafts in replies
This commit is contained in:
parent
c0e6e3cde8
commit
5eada05ba0
@ -18374,7 +18374,7 @@ void display_reply(LOGBOOK * lbs, int message_id, int printable, int expand, int
|
||||
status = el_retrieve(lbs, message_id, date, attr_list, (char (*)[1500]) attrib, lbs->n_attr, text, &size,
|
||||
in_reply_to, reply_to, (char (*)[256]) attachment, encoding, locked_by, draft);
|
||||
|
||||
if (status != EL_SUCCESS) {
|
||||
if (status != EL_SUCCESS || draft[0]) {
|
||||
xfree(text);
|
||||
xfree(attachment);
|
||||
xfree(attrib);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user