Fix dialogs js
Migrate private_messages to invite_messages