Update. Previous error was spotted on my localhost server. When I updated flarum and byobu on my hosting, I found out that private messages work totally ok.
I don't know if it's connected with my localhost working in Windows environment or you guys already fixed something in the code, but I'm glad it works