Merge pull request #82 from mc-hamster/master

Add reply_id and is_tapback
This commit is contained in:
Jm Casler 2022-01-23 09:10:14 -08:00 committed by GitHub
commit 6c39b5bf47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}
/*