From ead790853e3010a8c00303744a2e98f39b8619ac Mon Sep 17 00:00:00 2001 From: "Fedor A. Fetisov" Date: Mon, 5 Jun 2017 18:34:13 +0300 Subject: [PATCH] Fix setting of the chat style --- .../libs/classes/Mibew/Controller/Chat/AbstractController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mibew/libs/classes/Mibew/Controller/Chat/AbstractController.php b/src/mibew/libs/classes/Mibew/Controller/Chat/AbstractController.php index 7bdba681..5a579901 100644 --- a/src/mibew/libs/classes/Mibew/Controller/Chat/AbstractController.php +++ b/src/mibew/libs/classes/Mibew/Controller/Chat/AbstractController.php @@ -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;