Skip to content

Commit 9b21b79

Browse files
authored
Merge pull request #30 from codethink-cn/broken
feat(event): Fix wrong exit_type value for GroupMemberQuit
2 parents fa5730c + 8878e35 commit 9b21b79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lagrange/client/events/group.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class GroupMemberQuit(GroupEvent):
9595

9696
@property
9797
def is_kicked(self) -> bool:
98-
return self.exit_type in [130, 131]
98+
return self.exit_type in [3, 131]
9999

100100
@property
101101
def is_kicked_self(self) -> bool:

0 commit comments

Comments
 (0)