Fixed compile issues
repeated DeleteMessage
guid => guids
Merge commit 'c49647cadb04d7a395477be2c5e27cd65f70df70' into new-dialogs