Fixed compilation error
Some changes to add encrypted chat in nearest future