master
The code has been refactored, now there are no incomprehensible UserRole, etc.
bugs with creating chats and not opening the chat information menu have been fixed, and chat creation has also been confirmed.
the code has been refactored (now there are no incomprehensible 'UserRole + n') so far only in the list of chats and the list of messages