mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fix PACKET_ID_OFFLINE fallinthrough PACKET_ID_NICKNAME
This fixes the PACKET_ID_OFFLINE handling code incorrectly falling through to the PACKET_ID_NICKNAME handling code This bug resulted in a friend B's name being wiped on friend A's client after B removes A Fixes tux3/qTox#1967 Fixes #1426
This commit is contained in:
parent
826e18315b
commit
9c824105a9
|
@ -1930,6 +1930,7 @@ static int handle_packet(void *object, int i, uint8_t *temp, uint16_t len)
|
|||
break;
|
||||
|
||||
set_friend_status(m, i, FRIEND_CONFIRMED);
|
||||
break;
|
||||
}
|
||||
|
||||
case PACKET_ID_NICKNAME: {
|
||||
|
|
Loading…
Reference in New Issue
Block a user