Possible fix for #535
Possible fix for #535

Raynes/cryptocat,arno01/cryptocat,wakermahmud/cryptocat,arno01/cryptocat,Cryptodog/cryptocat,DoNotUseThisCodeJUSTFORKS/cryptocat,PeterDaveHello/cryptocat,Raynes/cryptocat,Raynes/cryptocat,PeterDaveHello/cryptocat,Cryptodog/cryptocat,DGO143/cryptocat,DoNotUseThisCodeJUSTFORKS/cryptocat,DGO143/cryptocat,wakermahmud/cryptocat,DGO143/cryptocat,DoNotUseThisCodeJUSTFORKS/cryptocat