Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: prefer address over dm #149

Merged
merged 1 commit into from
Feb 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions proto/message_contents/private_preferences.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ option java_package = "org.xmtp.proto.message.contents";
// store.
message PrivatePreferencesAction {
// Allow 1:1 direct message (DM) access
message AllowDM {
message AllowAddress {
// Add the given wallet addresses to the allow list
repeated string wallet_addresses = 1;
}

// Deny (block) 1:1 direct message (DM) access
message DenyDM {
message DenyAddress {
// Add the given wallet addresses to the deny list
repeated string wallet_addresses = 1;
}
Expand All @@ -39,8 +39,8 @@ message PrivatePreferencesAction {
}

oneof message_type {
AllowDM allow_dm = 1;
DenyDM deny_dm = 2;
AllowAddress allow_address = 1;
DenyAddress deny_address = 2;
AllowGroup allow_group = 3;
DenyGroup deny_group = 4;
}
Expand Down
Loading