Skip to content

Commit 6ff9058

Browse files
committed
fix bug
1 parent 0ae4e0a commit 6ff9058

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toxcore/group.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1774,7 +1774,7 @@ static bool get_peer_number(const Group_c *g, const uint8_t *real_pk, uint16_t *
17741774

17751775
const int frozen_index = frozen_in_chat(g, real_pk);
17761776

1777-
if (peer_index >= 0) {
1777+
if (frozen_index >= 0) {
17781778
*peer_number = g->frozen[frozen_index].peer_number;
17791779
return true;
17801780
}

0 commit comments

Comments
 (0)