Skip to content

Commit

Permalink
bugfix for toxav states
Browse files Browse the repository at this point in the history
  • Loading branch information
naxuroqa committed Jul 21, 2014
1 parent 96a413d commit 09ded03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/core/ToxSession.vala
Original file line number Diff line number Diff line change
Expand Up @@ -940,6 +940,7 @@ namespace Venom {
Idle.add(() => {
Contact c = _contacts.get(friend_id);
c.call_index = call_index;
c.audio_call_state = AudioCallState.CALLING;
on_av_invite(c);
return false;
});
Expand Down
2 changes: 1 addition & 1 deletion src/ui/ContactListWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ namespace Venom {
int response = message_dialog.run();
message_dialog.destroy();

if(c.audio_call_state != AudioCallState.RINGING) {
if(c.audio_call_state != AudioCallState.CALLING) {
//when remote cancels the request
Logger.log(LogLevel.DEBUG, "call with %s already canceled".printf(c.name));
return;
Expand Down

0 comments on commit 09ded03

Please sign in to comment.