diff --git a/include/transport/protocol.proto b/include/transport/protocol.proto index 316b164eced356897fe30edb26e7610bde6fa5df..4a5b8f00a9ae5ac0d39ca0ad07f6282a4bae68c6 100644 --- a/include/transport/protocol.proto +++ b/include/transport/protocol.proto @@ -72,6 +72,7 @@ message ConversationMessage { optional string timestamp = 6; optional bool headline = 7; optional string id = 8; + optional bool pm = 9; } message Room { @@ -86,6 +87,16 @@ message RoomList { repeated string name = 2; } +enum ParticipantFlag { + PARTICIPANT_FLAG_NONE = 0; + PARTICIPANT_FLAG_MODERATOR = 1; + PARTICIPANT_FLAG_CONFLICT = 2; + PARTICIPANT_FLAG_BANNED = 4; + PARTICIPANT_FLAG_NOT_AUTHORIZED = 8; + PARTICIPANT_FLAG_ME = 16; + PARTICIPANT_FLAG_KICKED = 32; +} + message Participant { required string userName = 1; required string room = 2; @@ -169,6 +180,7 @@ message WrapperMessage { TYPE_QUERY = 31; TYPE_ROOM_LIST = 32; TYPE_CONV_MESSAGE_ACK = 33; + TYPE_RAW_XML = 34; } required Type type = 1; optional bytes payload = 2;