Skip to content

Commit

Permalink
[Core] Add SelfInvitation to BotGroupRequest.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Linwenxuan04 committed Feb 26, 2024
1 parent 85e2fc9 commit ff07dd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Lagrange.Core/Common/Entity/BotGroupRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public enum State
public enum Type
{
GroupRequest = 1,
SelfInvitation = 2,
ExitGroup = 13,
GroupInvitation = 22,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ protected override bool Build(SetGroupRequestEvent input, BotKeystore keystore,
Body = new OidbSvcTrpcTcp0x10C8_1Body
{
Sequence = input.Sequence,
EventType = 2,
EventType = input.Type,
GroupUin = input.GroupUin,
Message = ""
}
Expand Down

0 comments on commit ff07dd9

Please sign in to comment.