Skip to content

Commit

Permalink
fix group message use friend scene
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkRRb committed Oct 1, 2024
1 parent 2444122 commit bf9a498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lagrange.Kritor/src/Converters/MessageEventConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static EventStructure ToMessageEvent(this EventBase @event) {
message.Chain.Sequence
),
MessageSeq = message.Chain.Sequence,
Scene = Scene.Friend,
Scene = Scene.Group,
Group = new GroupSender {
GroupId = message.Chain.GroupUin?.ToString()
?? throw new Exception("`GroupMessageEvent.Chain.GroupUin` is null"),
Expand Down

0 comments on commit bf9a498

Please sign in to comment.