Add dialogue:delete to strings
Remove extra join condition on message table that was failing
The authorid mapping was missing when restoring a message, fixed now.