From ab91b7021dd7c98d6e0632e4d2bffb1b1662db26 Mon Sep 17 00:00:00 2001 From: Michael Clapham Date: Thu, 25 Jun 2026 15:50:56 +0100 Subject: [PATCH] Add interface to get logged in users email address --- thrift/native.thrift | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 +}