Page MenuHomePhabricator

D10866.diff
No OneTemporary

D10866.diff

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

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)

Event Timeline