Skip to content

Commit

Permalink
Add referrer
Browse files Browse the repository at this point in the history
  • Loading branch information
abeddow91 committed Mar 13, 2024
1 parent 0b634c2 commit 7781c63
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion thrift/native.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,13 @@ enum SignInScreenReason {
reportComment = 3
}

enum SignInScreenReferrer {
postComment = 0,
recommendComment = 1,
replyToComment = 2,
reportComment = 3
}

service Environment {
string nativeThriftPackageVersion()
bool isMyGuardianEnabled()
Expand Down Expand Up @@ -112,7 +119,7 @@ service User {
string discussionId(),
bool doesCcpaApply(),
bool isSignedIn(),
void signIn(1:SignInScreenReason reason),
void signIn(1:SignInScreenReason reason, 2:SignInScreenReferrer referrer),
}

service Gallery {
Expand Down

0 comments on commit 7781c63

Please sign in to comment.