diff options
author | Diadlo <polsha3@gmail.com> | 2018-02-02 15:00:06 +0300 |
---|---|---|
committer | Diadlo <polsha3@gmail.com> | 2018-02-02 15:00:43 +0300 |
commit | 99bfb9a4f2b15d3b5a9fe3878df2eb5e55c428aa (patch) | |
tree | 2954ae5e3b327d93343a082e869e9f159f2d0c08 /toxcore/Messenger.h | |
parent | 83779a21eaf19bbf6aa5d61d8f59681a306e4f65 (diff) |
Revert "Add correction message type"
This reverts commit e16d3894c5979fcfe1c57bf7dadc455ce690baf9 and
commit c5976e37eaadf663dc3d0c18376ea023355048f3.
Diffstat (limited to 'toxcore/Messenger.h')
-rw-r--r-- | toxcore/Messenger.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/toxcore/Messenger.h b/toxcore/Messenger.h index 26977036..6bf1bce8 100644 --- a/toxcore/Messenger.h +++ b/toxcore/Messenger.h | |||
@@ -46,9 +46,7 @@ | |||
46 | 46 | ||
47 | enum { | 47 | enum { |
48 | MESSAGE_NORMAL, | 48 | MESSAGE_NORMAL, |
49 | MESSAGE_ACTION, | 49 | MESSAGE_ACTION |
50 | MESSAGE_CORRECTION, | ||
51 | MESSAGE_LAST | ||
52 | }; | 50 | }; |
53 | 51 | ||
54 | /* NOTE: Packet ids below 24 must never be used. */ | 52 | /* NOTE: Packet ids below 24 must never be used. */ |
@@ -60,7 +58,6 @@ enum { | |||
60 | #define PACKET_ID_TYPING 51 | 58 | #define PACKET_ID_TYPING 51 |
61 | #define PACKET_ID_MESSAGE 64 | 59 | #define PACKET_ID_MESSAGE 64 |
62 | #define PACKET_ID_ACTION (PACKET_ID_MESSAGE + MESSAGE_ACTION) /* 65 */ | 60 | #define PACKET_ID_ACTION (PACKET_ID_MESSAGE + MESSAGE_ACTION) /* 65 */ |
63 | #define PACKET_ID_CORRECTION (PACKET_ID_MESSAGE + MESSAGE_CORRECTION) /* 66 */ | ||
64 | #define PACKET_ID_MSI 69 | 61 | #define PACKET_ID_MSI 69 |
65 | #define PACKET_ID_FILE_SENDREQUEST 80 | 62 | #define PACKET_ID_FILE_SENDREQUEST 80 |
66 | #define PACKET_ID_FILE_CONTROL 81 | 63 | #define PACKET_ID_FILE_CONTROL 81 |