Will resent invite include original custom message?

AI-generated summary

Will resent invite include original custom message?

Initially, tophee wondered if resending an invite would include the original custom message. codinghorror shared the same assumption and requested confirmation from techAPJ. However, techAPJ revealed that the custom message was not being saved and therefore not included in the resent invite.

After adding it to the to-do list, techAPJ successfully implemented the feature, ensuring that resending an invite will now include the original custom message. The update can be found on GitHub.

tophee appreciated the improvement and asked if the entire email template would be retained if it had been modified since the original invite. techAPJ clarified that only the custom message would be retained, not the entire template.

I’m wondering if the invite message sent when I press “Resend invite” will include the custom message entered when the invite was originally created. I’d assume that this is the case…

Yes, I would also assume that is true. @techapj can confirm.

Currently resending invite does not include custom message because we are not saving the custom message in Invite database record.

I will add it on my list to make it so.

Resending invite will now include custom message (if the original invitation had custom message). :sunny:

https://github.com/discourse/discourse/commit/16d356ab4e416bdf3433646d1d9859065269586f

This is really am excellent improvement! Does this include that if the invite email template has been modified between the original invite and resending the invite, the resent invite will use the original template, i.e. that the entire email is identical?

Nope, only the custom message will be retained, not the entire template.