From cea7ca10db98b952216ee0fb32a3b6cde2b97ea4 Mon Sep 17 00:00:00 2001 From: Jm Casler Date: Sun, 23 Jan 2022 09:02:39 -0800 Subject: [PATCH 1/3] Add reply_id and is_tapback --- mesh.proto | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/mesh.proto b/mesh.proto index ab87e6a..b8beac4 100644 --- a/mesh.proto +++ b/mesh.proto @@ -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; } /* From c9c34f6c15b4ce6b3390f9d2d72bda9eb53b020f Mon Sep 17 00:00:00 2001 From: Jm Casler Date: Sun, 23 Jan 2022 09:06:21 -0800 Subject: [PATCH 2/3] Remove from reply/tapback meshpacket --- mesh.proto | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/mesh.proto b/mesh.proto index b8beac4..fef1995 100644 --- a/mesh.proto +++ b/mesh.proto @@ -727,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; - } /* From 92d56ce491c21ec19c38e19e74021f7d0b204edb Mon Sep 17 00:00:00 2001 From: Jm Casler Date: Sun, 23 Jan 2022 09:08:45 -0800 Subject: [PATCH 3/3] Fix for linting error --- mesh.proto | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mesh.proto b/mesh.proto index fef1995..d0e4617 100644 --- a/mesh.proto +++ b/mesh.proto @@ -530,10 +530,10 @@ message Data { */ 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. - */ + /* + * 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; }