entry.addObject(object);
entry.setPublished(now);
// add attachments if there are any
for (ActivityObject current : pictureAttachments) {
entry.addObject(current);
}
// Add recipients if there are any
for (String recipient : shoutAttachmentPanel.getRecipients()) {
entry.addRecipient(atomFactory.reply(null, recipient, null, null));