public function decorateCommunityIntroductionBody(SendMessageData $message)
 {
     $id = $message->getForeignId();
     $community = Doctrine::getTable('Community')->find($id);
     if (!$community) {
         return $message->body;
     }
     $params = array('fromMember' => $message->getMember(), 'message' => $message->body, 'community' => $community);
     return opMessageSender::decorateBySpecifiedTemplate('communityIntroductionMessage', $params);
 }
 public function decorateFriendLinkBody(SendMessageData $message)
 {
     $params = array('fromMember' => $message->getMember(), 'message' => $message->body);
     return opMessageSender::decorateBySpecifiedTemplate('friendLinkMessage', $params);
 }