fix event prevention on chat restore
Merge pull request #246 from sir-sigurd/fix-restore-event-prevention

fix event prevention on chat restore