Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3156852
D10866.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1013 B
Referenced Files
None
Subscribers
None
D10866.diff
View Options
diff --git a/native/cpp/CommonCpp/NativeModules/CommCoreModule.cpp b/native/cpp/CommonCpp/NativeModules/CommCoreModule.cpp
--- a/native/cpp/CommonCpp/NativeModules/CommCoreModule.cpp
+++ b/native/cpp/CommonCpp/NativeModules/CommCoreModule.cpp
@@ -1,6 +1,7 @@
#include "CommCoreModule.h"
#include "../Notifications/BackgroundDataStorage/NotificationsCryptoModule.h"
#include "BaseDataStore.h"
+#include "CommServicesAuthMetadataEmitter.h"
#include "DatabaseManager.h"
#include "InternalModules/GlobalDBSingleton.h"
#include "InternalModules/RustPromiseManager.h"
@@ -1218,6 +1219,8 @@
CommSecureStore::set(CommSecureStore::deviceID, deviceIDStr);
CommSecureStore::set(
CommSecureStore::commServicesAccessToken, accessTokenStr);
+ CommServicesAuthMetadataEmitter::sendAuthMetadataToJS(
+ accessTokenStr, userIDStr);
} catch (const std::exception &e) {
error = e.what();
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 6, 5:38 PM (20 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2431570
Default Alt Text
D10866.diff (1013 B)
Attached To
Mode
D10866: [native] Emit a token and user ID after setting the values
Attached
Detach File
Event Timeline
Log In to Comment