mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Fix ChatForm::onAvMediaChange not checking callId/friendId
May help with #458
This commit is contained in:
parent
b1705a9def
commit
9ba1d4cf41
|
@ -408,7 +408,8 @@ void ChatForm::onAvPeerTimeout(int FriendId, int)
|
|||
|
||||
void ChatForm::onAvMediaChange(int FriendId, int CallId, bool video)
|
||||
{
|
||||
Q_UNUSED(FriendId)
|
||||
if (FriendId != f->friendId || CallId != callId)
|
||||
return;
|
||||
|
||||
if (video)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user