Skip to content

Instantly share code, notes, and snippets.

@iaindooley
Created March 13, 2020 03:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iaindooley/96703842965fedd32090e41d171d95ce to your computer and use it in GitHub Desktop.
Save iaindooley/96703842965fedd32090e41d171d95ce to your computer and use it in GitHub Desktop.
Copy attachment links
function copyAttachmentLinks(notification)
{
var notif = new Notification(notification);
var att = notif.attachedLink();
if(notif.member().notTrellinator())
{
att.card().cardsLinkedInAttachments().first().attachLink({name: att.name(),link: att.link()});
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment