SocialActivity activity, ServiceContext serviceContext)
throws Exception {
MBMessage message = getMessage(activity);
MBThread thread = message.getThread();
if (thread.isInTrash()) {
<BUG>return TrashUtil.getViewContentURL(
</BUG>
MBThread.class.getName(), thread.getThreadId(),
<BUG>serviceContext.getThemeDisplay());

}</BUG>
StringBundler sb = new StringBundler(4);

SocialActivity activity, ServiceContext serviceContext)
throws Exception {
MBMessage message = getMessage(activity);
if (message.getCategoryId() <= 0) {
return StringPool.BLANK;
}
StringBundler sb = new StringBundler(4);
