PollListItem freed from noticeListItemAdapter clutches
In the future, use events for formatting microapp notices, more specifically through the plugin's function "showNoticeContent" or similar, which is called from MicroAppPlugin, which is extended from ActivityHandlerPlugin.
This commit is contained in:
@@ -606,7 +606,12 @@ abstract class ActivityHandlerPlugin extends Plugin
|
||||
return true;
|
||||
}
|
||||
|
||||
$out->text($stored->getContent());
|
||||
$this->showNoticeContent($stored, $out, $scoped);
|
||||
return false;
|
||||
}
|
||||
|
||||
protected function showNoticeContent(Notice $stored, HTMLOutputter $out, Profile $scoped=null)
|
||||
{
|
||||
$out->text($stored->getContent());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user