Skip to content

Commit 0f7f023

Browse files
authored
Merge pull request #149 from xmtp/st/prefer-address-over-dm
fix: prefer address over dm
2 parents 08f519b + 31f4220 commit 0f7f023

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

proto/message_contents/private_preferences.proto

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ option java_package = "org.xmtp.proto.message.contents";
1515
// store.
1616
message PrivatePreferencesAction {
1717
// Allow 1:1 direct message (DM) access
18-
message AllowDM {
18+
message AllowAddress {
1919
// Add the given wallet addresses to the allow list
2020
repeated string wallet_addresses = 1;
2121
}
2222

2323
// Deny (block) 1:1 direct message (DM) access
24-
message DenyDM {
24+
message DenyAddress {
2525
// Add the given wallet addresses to the deny list
2626
repeated string wallet_addresses = 1;
2727
}
@@ -39,8 +39,8 @@ message PrivatePreferencesAction {
3939
}
4040

4141
oneof message_type {
42-
AllowDM allow_dm = 1;
43-
DenyDM deny_dm = 2;
42+
AllowAddress allow_address = 1;
43+
DenyAddress deny_address = 2;
4444
AllowGroup allow_group = 3;
4545
DenyGroup deny_group = 4;
4646
}

0 commit comments

Comments
 (0)