jordan-violet encountered an error when trying to address a user’s name in a system message. Lilly provided a link to a meta thread discussing available interpolation keys, but it didn’t help in this case.
supermathie and gerhard suggested that certain system messages can use additional interpolation keys, such as username, name, and name_or_username, but these are currently limited to specific welcome messages.
jordan-violet was able to resolve the issue thanks to the help of Lilly, supermathie, and gerhard, who provided guidance on how to use these interpolation keys.
A related question was raised by mjr4684 about extending this behavior to chat notifications, but Lilly was unsure if this was possible.
I’m trying to update system_messages.welcome_tl1_user.text_body_template and address the user’s name in the message, but getting the error: The following interpolation key is invalid: name:
In theory we should be able to add all system_messages.* keys as long as they have subject_template and text_body_template subkeys. Because all of them should be handled by the SystemMessage class which adds username, name, name_or_username as additional interpolation keys.
you would have to edit the chat email text and change the key from username to their full name. but i have no idea if this is possible. the chat configuration is not my forte. i would go to settings-customize-email and search for a chat email template in the top drop down menu. all the editable email templates are in that drop down.