flashmsg, dm message, badge+gateway id persistence in postgres, etc