add registerUser function to CommCoreModule
Details
- Reviewers
ashoat - Commits
- rCOMM552ea82de18b: [native] register user on native (C++ changes)
successfully registered a new user from js
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
native/cpp/CommonCpp/NativeModules/JSIRust.cpp | ||
---|---|---|
6 ↗ | (On Diff #26025) | You should #include all of the stuff you use, so eg. #include <string> for this |
Let's avoid passing constants as number literals like this. Instead, please define something like eg. threadTypes, so that this code is more "readable" at the callsite (eg. we would see something like olmMessageTypes.TEXT or something)