message: Simplify getUserFeatures logic
diff: @@ -552,10 +552,7 @@ DataStore.prototype.storeIrcClientConfig = function(config) {
  DataStore.prototype.getUserFeatures = function(userId) {
  return this._userStore.getMatrixUser(userId).then((matrixUser) => {
  - if (!matrixUser) {
  - return {};
  - }
  - return matrixUser.get("features") || {};
  + return matrixUser ? (matrixUser.get("features") || {}) : {};
  });
  };
  