fix: 修复peek方法的使用错误。

main
NorthLan 2 years ago
parent d780b36fa5
commit 7d51690c84

@ -91,7 +91,7 @@ func (c *Group) MemberUIDs() []int64 {
var members []int64
c.PeekMembers(func(_ int64, s *session.Session) bool {
members = append(members, s.UID())
return false
return true
})
return members
}

Loading…
Cancel
Save