fixed bug whereas you could only encrypt a message if a file was attached