diff --git a/thrift/native.thrift b/thrift/native.thrift index e9bf2fa..92e0323 100644 --- a/thrift/native.thrift +++ b/thrift/native.thrift @@ -255,9 +255,11 @@ service Navigation { * - requestSignUp: request to sign up to a newsletter using an email address entered by the user. * Returns `true` if the request was successful, `false` if it failed for any reason. Exceptions * thrown will be discarded. + * - getLoggedInUserEmail: request currently signed in users email address. Blank if not signed in. */ service Newsletters { - bool requestSignUp(1: string emailAddress, 2:string newsletterIdentityName) + bool requestSignUp(1: string emailAddress, 2:string newsletterIdentityName), + string getLoggedInUserEmail() } service Interaction { @@ -284,4 +286,4 @@ service LiveActivities { bool follow(1: string activityType, 2: string activityId) bool unfollow(1: string activityType, 2: string activityId) bool isFollowing(1: string activityType, 2: string activityId) -} \ No newline at end of file +}