kwailo888 / AxolotlTestApp

9 stars 3 forks source link

message not decrypted properly #26

Open kunalsmehtajobs opened 8 years ago

kunalsmehtajobs commented 8 years ago

Hi, Lately, I don't get the messages decrypted properly. I see some junk characters along with the message.

Please guide me what went wrong. I recently updated to "2.13.440" version

Kunal

gahlotkrishan commented 8 years ago

I've a workaround brother

        public string RemoveBadChars(string s)
        {
            char[] invalid = System.IO.Path.GetInvalidFileNameChars();
            var newstr = new String(s.Where(c => !invalid.Contains(c)).ToArray());
            return newstr;
        }