Skip to content

Commit

Permalink
fix: edit group card
Browse files Browse the repository at this point in the history
  • Loading branch information
Fripine committed Sep 20, 2024
1 parent fda218a commit 52b18ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/group_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -433,5 +433,5 @@ func (m *GroupMemberInfo) CardChangable() bool {
if self == Member {
return false
}
return m.Permission != Administrator
return self >= Administrator
}

0 comments on commit 52b18ae

Please sign in to comment.