* @see wcf\data\IMessage::getUserID()
*/
public function getUserID() {
- return $this->getDecoratedObject()->userID;
+ return $this->getDecoratedObject()->lastPosterID;
}
/**
* @see wcf\data\IMessage::getUsername()
*/
public function getUsername() {
- return $this->getDecoratedObject()->username;
+ return $this->getDecoratedObject()->lastPoster;
}
/**
* @see wcf\data\IMessage::getTime()
*/
public function getTime() {
- return $this->getDecoratedObject()->time;
+ return $this->getDecoratedObject()->lastPostTime;
}
/**
public function __toString() {
return $this->getDecoratedObject()->__toString();
}
+
+ /**
+ * @see wcf\data\IFeedEntry::getComments()
+ */
+ public function getComments() {
+ return $this->replies;
+ }
+
+ /**
+ * @see wcf\data\IFeedEntry::getCategories()
+ */
+ public function getCategories() {
+ return array();
+ }
}
$this->items->getConditionBuilder()->add('conversation_to_user.participantID = ?', array(WCF::getUser()->userID));
$this->items->getConditionBuilder()->add('conversation_to_user.hideConversation = ?', array(0));
$this->items->sqlConditionJoins = "LEFT JOIN wcf".WCF_N."_conversation conversation ON (conversation.conversationID = conversation_to_user.conversationID)";
+ $this->items->sqlLimit = 20;
$this->items->readObjects();
$this->title = WCF::getLanguage()->get('wcf.conversation.conversations');
{/capture}
{capture assign='headerNavigation'}
- <li><a href="{link controller='ConversationFeed' appendSession=false}at={@$__wcf->getUser()->userID}-{@$__wcf->getUser()->accessToken}{/link}" title="{lang}wcf.global.button.rss{/lang}" class="jsTooltip"><span class="icon icon16 icon-rss"></span> <span class="invisible">{lang}wcf.global.button.rss{/lang}</span></a></li>
+ <li><a rel="alternate" href="{link controller='ConversationFeed' appendSession=false}at={@$__wcf->getUser()->userID}-{@$__wcf->getUser()->accessToken}{/link}" title="{lang}wcf.global.button.rss{/lang}" class="jsTooltip"><span class="icon icon16 icon-rss"></span> <span class="invisible">{lang}wcf.global.button.rss{/lang}</span></a></li>
{/capture}
{include file='header' sidebarOrientation='left'}