AmendHub

Download:

jcs

/

subtext

/

amendments

/

180

board: Don't ask for subject on re-edit of a reply


jcs made amendment 180 over 2 years ago
--- board.c Thu Jun 30 15:42:11 2022 +++ board.c Sat Jul 2 23:15:56 2022 @@ -391,15 +391,15 @@ board_compose(struct session *s, struct board *board, session_printf(s, "{{B}}From:{{/B}} %s\r\n", s->user->username); session_printf(s, "{{B}}To:{{/B}} %s\r\n", board->name); +post_compose_start: if (parent_post) { session_printf(s, "{{B}}Subject:{{/B}}{{#}} Re: %s\r\n", thread->subject); session_flush(s); } else { - if (initial_subject) + if (initial_subject && !thread->subject) thread->subject = xstrdup(initial_subject); -post_compose_start: for (;;) { session_output_template(s, "{{B}}Subject:{{/B}} "); session_flush(s);