diff --git a/include/transport/protocol.proto b/include/transport/protocol.proto index 316b164eced356897fe30edb26e7610bde6fa5df..796b656c3dbfb59ca17b977fd7be347d5051359b 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;