Add config/preference option to disable saving messages in localStorage (#1489979)