Added checking of permissions to view a conversation.