Skip to content

Commit

Permalink
Merge pull request #149 from xmtp/st/prefer-address-over-dm
Browse files Browse the repository at this point in the history
fix: prefer address over dm
  • Loading branch information
tuddman authored Feb 20, 2024
2 parents 08f519b + 31f4220 commit 0f7f023
Showing 1 changed file with 4 additions and 4 deletions.
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

0 comments on commit 0f7f023

Please sign in to comment.