master
The code has been refactored, now there are no incomprehensible UserRole, etc.
redesigned dialog creation (all processing on the server)
bugs with creating chats and not opening the chat information menu have been fixed, and chat creation has also been confirmed.
The app's style has been fixed (borders have been added to some widgets and the style of the search bar has been redesigned). The delegate for the chat list has also been redesigned, now everything is drawn beautifully and in its place.
The architecture has been completely changed and a white theme has been added.
it is possible to add chats and messages, even if there was no Internet (but confirmation from the server is needed to save)
The application has been customized