GroupMemberCacheIsEmpty 指定群的群成员缓存是否为空
(groupUin uint32)
| 126 | |
| 127 | // GroupMemberCacheIsEmpty 指定群的群成员缓存是否为空 |
| 128 | func (c *Cache) GroupMemberCacheIsEmpty(groupUin uint32) bool { |
| 129 | if group, ok := getCacheOf[Cache](c, groupUin); ok { |
| 130 | return !hasRefreshed[entity.GroupMember](group) |
| 131 | } |
| 132 | return true |
| 133 | } |
| 134 | |
| 135 | // GroupInfoCacheIsEmpty 群信息缓存是否为空 |
| 136 | func (c *Cache) GroupInfoCacheIsEmpty() bool { |
no outgoing calls
no test coverage detected