mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-27 12:15:50 +01:00
Add support for admin delete.
This commit is contained in:
committed by
Cody Henthorne
parent
1968438ebb
commit
071fbfd916
@@ -500,6 +500,7 @@ message ChatItem {
|
||||
ViewOnceMessage viewOnceMessage = 18;
|
||||
DirectStoryReplyMessage directStoryReplyMessage = 19; // group story reply messages are not backed up
|
||||
Poll poll = 20;
|
||||
AdminDeletedMessage adminDeletedMessage = 22;
|
||||
}
|
||||
|
||||
PinDetails pinDetails = 21; // only set if message is pinned
|
||||
@@ -900,6 +901,10 @@ message Poll {
|
||||
repeated Reaction reactions = 5;
|
||||
}
|
||||
|
||||
message AdminDeletedMessage {
|
||||
uint64 adminId = 1; // id of the admin that deleted the message
|
||||
}
|
||||
|
||||
message ChatUpdateMessage {
|
||||
// If unset, importers should ignore the update message without throwing an error.
|
||||
oneof update {
|
||||
|
||||
@@ -267,4 +267,10 @@ message CallQualitySurveySubmissionJobData {
|
||||
|
||||
message CheckKeyTransparencyJobData{
|
||||
bool showFailure = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message AdminDeleteJobData {
|
||||
uint64 messageId = 1;
|
||||
repeated uint64 recipientIds = 2;
|
||||
uint32 initialRecipientCount = 3;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user