Fix setting of the chat style

This commit is contained in:
Fedor A. Fetisov 2017-06-05 18:34:13 +03:00
parent 47e7a81f6f
commit ead790853e

View File

@ -36,7 +36,7 @@ abstract class AbstractController extends BaseAbstractController
protected function getStyle()
{
if (is_null($this->style)) {
$this->style = $this->prepareStyle(new ChatStyle(ChatStyle::getDefaultStyle()));
$this->style = $this->prepareStyle(new ChatStyle(ChatStyle::getCurrentStyle()));
}
return $this->style;