mirror of https://gitlab.com/litecord/litecord.git
parent
67a8ae4ce2
commit
7db5ce62c1
|
|
@ -215,7 +215,8 @@ class PresenceManager:
|
||||||
# - all shards with count = 1 (single shards)
|
# - all shards with count = 1 (single shards)
|
||||||
good_shards = list(
|
good_shards = list(
|
||||||
filter(
|
filter(
|
||||||
lambda state: state.shard[0] == 0 or state.shard[1] == 1, friend_states
|
lambda state: state.current_shard == 0 or state.shard_count == 1,
|
||||||
|
friend_states,
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue