Email recording now includes all urls (#697)

This commit is contained in:
farhatahmad
2019-07-31 11:33:06 -04:00
committed by Jesus Federico
parent 2775b18993
commit 58201d5763
3 changed files with 7 additions and 5 deletions

View File

@ -28,7 +28,7 @@ $(document).on('turbolinks:load', function(){
$(this).click(function(){
var subject = $(".username").text() + " " + t('room.mailer.subject');
var body = t('room.mailer.body') + "\n\n" + $(this).attr("data-pres-link");
var autogenerated = "\n\n" + t('room.mailer.autogenerated') + "\n";
var autogenerated = t('room.mailer.autogenerated') + "\n";
var footer = t('room.mailer.footer');
var url = "mailto:?subject=" + encodeURIComponent(subject) + "&body=" + encodeURIComponent(body) + encodeURIComponent(autogenerated) + encodeURIComponent(footer);