fuck conflict

This commit is contained in:
Slava Petrov 2024-12-20 17:47:21 +03:00
parent 7d6a8fbbbf
commit a6b96f716a

View file

@ -210,6 +210,7 @@ abstract class OpenVKPresenter extends SimplePresenter
if(OPENVK_ROOT_CONF['openvk']['preferences']['news']['show']) {
$post = (new Posts)->getPostsFromUsersWall(-OPENVK_ROOT_CONF['openvk']['preferences']['news']['groupId'], 1, 1);
$post = iterator_to_array($post)[0];
$text = wordwrap($post->getText(false), 150, '\n', false);
$text = explode('\n', $text)[0];