Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions proto/message/v2/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,12 @@ message FaceExtra {
optional int32 face_id = 1;
}

message QSmallFaceExtra {
optional uint32 face_id = 1;
optional string preview = 2;
optional string preview2 = 3;
Comment on lines +601 to +603
Copy link

Copilot AI Mar 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The v2 proto file uses proto2 syntax (line 1), which requires every field to have an explicit label (optional, required, or repeated). All other messages in this file consistently use optional for scalar fields (e.g., FaceExtra at line 597, QFaceExtra at lines 607–616). The three fields here are missing the optional label, which makes them invalid proto2 and inconsistent with the rest of the file.

It looks like these fields were copied verbatim from proto/message/v1/element.proto (which uses proto3 syntax where labels are implicit). Please add optional to all three fields to match the v2 file conventions.

Copilot uses AI. Check for mistakes.
}

message QFaceExtra {
optional string pack_id = 1;
optional string sticker_id = 2;
Expand Down