master
redesigned dialog creation (all processing on the server)
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