mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-05-02 06:33:38 +01:00
Update spam UX and reporting flows.
This commit is contained in:
committed by
Clark Chen
parent
a4fde60c1c
commit
aa76cefb1c
@@ -1607,6 +1607,12 @@ public class SignalServiceMessageSender {
|
||||
case BLOCK_AND_DELETE:
|
||||
responseMessage.type(SyncMessage.MessageRequestResponse.Type.BLOCK_AND_DELETE);
|
||||
break;
|
||||
case SPAM:
|
||||
responseMessage.type(SyncMessage.MessageRequestResponse.Type.SPAM);
|
||||
break;
|
||||
case BLOCK_AND_SPAM:
|
||||
responseMessage.type(SyncMessage.MessageRequestResponse.Type.BLOCK_AND_SPAM);
|
||||
break;
|
||||
default:
|
||||
Log.w(TAG, "Unknown type!");
|
||||
responseMessage.type(SyncMessage.MessageRequestResponse.Type.UNKNOWN);
|
||||
|
||||
@@ -43,6 +43,6 @@ public class MessageRequestResponseMessage {
|
||||
}
|
||||
|
||||
public enum Type {
|
||||
UNKNOWN, ACCEPT, DELETE, BLOCK, BLOCK_AND_DELETE, UNBLOCK_AND_ACCEPT
|
||||
UNKNOWN, ACCEPT, DELETE, BLOCK, BLOCK_AND_DELETE, UNBLOCK_AND_ACCEPT, SPAM, BLOCK_AND_SPAM
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user