Skip to content

Commit 8bf4258

Browse files
committed
PRefer manual subject from flow
1 parent 33d89c7 commit 8bf4258

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/email/email_channel.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ proc sendPendingEmail(pendingEmail: PendingMailObj) =
100100
# Send the email
101101
let sendData = sendMailMimeNow(
102102
contactID = pendingEmail.userID,
103-
subject = (if mailData[0].len() > 0: mailData[0] else: pendingEmail.manualSubject),
103+
subject = (if pendingEmail.manualSubject.len > 0: pendingEmail.manualSubject else: mailData[0]),
104104
message = mailData[1],
105105
recipient = userData[1],
106106
mailUUID = pendingEmail.uuid

0 commit comments

Comments
 (0)