Skip to content

Commit d44a967

Browse files
authored
Merge pull request #48 from session-foundation/fix/return-features-bigint
fix: return pro features bitset as biigint
2 parents 3b6d6f3 + 9e5374d commit d44a967

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/user_config.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ Napi::Value UserConfigWrapper::getProFeaturesBitset(const Napi::CallbackInfo& in
297297
// TODO fixme once extra_data is implemented
298298
// config.get_pro_features_bitset();
299299
oxen::log::warning(cat, "getProFeaturesBitset() is not wrapped to libsession");
300-
return toJs(info.Env(), this->pro_user_features);
300+
return proFeaturesToJsBitset(info.Env(), this->pro_user_features);
301301
});
302302
}
303303

0 commit comments

Comments
 (0)