Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix: Status reflection for friend calls
Browse files Browse the repository at this point in the history
  • Loading branch information
antis81 authored and Diadlo committed Dec 1, 2016
1 parent 7b60a5d commit 917812d
Show file tree
Hide file tree
Showing 15 changed files with 471 additions and 517 deletions.
4 changes: 3 additions & 1 deletion src/core/coreav.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,9 @@ bool CoreAV::anyActiveCalls() const
*/
bool CoreAV::isCallActive(const Friend* f) const
{
return f && calls.contains(f->getFriendID());
return f && calls.contains(f->getFriendID())
? !(calls[f->getFriendID()].inactive)
: false;
}

/**
Expand Down
Loading

0 comments on commit 917812d

Please sign in to comment.