You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-14 19:02:33 +03:00
Make 'terms' term less overloaded
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
This commit is contained in:
@@ -59,7 +59,7 @@ export async function startTermsFlow(services, interactionCallback) {
|
||||
);
|
||||
|
||||
const terms = await Promise.all(termsPromises);
|
||||
const termsAndServices = terms.map((t, i) => { return { 'service': services[i], 'terms': t.policies }; });
|
||||
const policiesAndServicePairs = terms.map((t, i) => { return { 'service': services[i], 'policies': t.policies }; });
|
||||
|
||||
const agreedUrls = await interactionCallback(termsAndServices);
|
||||
console.log("User has agreed to URLs", agreedUrls);
|
||||
|
||||
Reference in New Issue
Block a user