for back compatibility

This commit is contained in:
rustdesk 2022-01-21 02:06:33 +08:00
parent cd9faf48f3
commit a474f904b1
2 changed files with 4 additions and 8 deletions

View File

@ -202,8 +202,7 @@ message Clipboard {
}
enum FileType {
UnknownFileType = 0;
Dir = 1;
Dir = 0;
DirLink = 2;
DirDrive = 3;
File = 4;
@ -316,8 +315,7 @@ message SwitchDisplay {
message PermissionInfo {
enum Permission {
Unknown = 0;
Keyboard = 1;
Keyboard = 0;
Clipboard = 2;
Audio = 3;
}

View File

@ -59,8 +59,7 @@ message RegisterPk {
message RegisterPkResponse {
enum Result {
UNKNOWN = 0;
OK = 1;
OK = 0;
UUID_MISMATCH = 2;
ID_EXISTS = 3;
TOO_FREQUENT = 4;
@ -75,8 +74,7 @@ message PunchHoleResponse {
bytes socket_addr = 1;
bytes pk = 2;
enum Failure {
UNKNOWN = 0;
ID_NOT_EXIST = 1;
ID_NOT_EXIST = 0;
OFFLINE = 2;
LICENSE_MISMATCH = 3;
LICENSE_OVERUSE = 4;