Merge pull request #82 from mc-hamster/master

Add reply_id and is_tapback
pull/83/head
Jm Casler 2022-01-23 09:10:14 -08:00 zatwierdzone przez GitHub
commit 6c39b5bf47
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 11 dodań i 11 usunięć

Wyświetl plik

@ -524,6 +524,17 @@ message Data {
* Indicates the original message ID that this message is reporting failure on. (formerly called original_id)
*/
fixed32 request_id = 6;
/*
* If set, this message is intened to be a reply to a previously sent message with the defined id.
*/
fixed32 reply_id = 7;
/*
* Defaults to false. If true, then what is in the payload should be treated as an emoji like giving
* a message a heart or poop emoji.
*/
bool is_tapback = 8;
}
/*
@ -716,17 +727,6 @@ message MeshPacket {
*/
Delayed delayed = 15;
/*
* If set, this message is intened to be a reply to a previously sent message with the defined id.
*/
fixed32 reply_id = 16;
/*
* Defaults to false. If true, then what is in the payload should be treated as an emoji like giving
* a message a heart or poop emoji.
*/
bool is_tapback = 17;
}
/*