diff options
author | wkg <1515379+wkg@users.noreply.github.com> | 2021-12-12 14:56:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-12 12:56:58 +0100 |
commit | 9cfc5a1827c58b09d5018a46683ed99093bb8178 (patch) | |
tree | ac60d3ee4fa3936287d75c29c010f915d865e060 /libdino/src | |
parent | fa1ba2f83dcbfbd009b61a6139be2233d729cb89 (diff) | |
download | dino-9cfc5a1827c58b09d5018a46683ed99093bb8178.tar.gz dino-9cfc5a1827c58b09d5018a46683ed99093bb8178.zip |
fix for "retracted" call from remote side. (#1160)
Diffstat (limited to 'libdino/src')
-rw-r--r-- | libdino/src/service/calls.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdino/src/service/calls.vala b/libdino/src/service/calls.vala index 365c15d9..6b69049e 100644 --- a/libdino/src/service/calls.vala +++ b/libdino/src/service/calls.vala @@ -677,8 +677,8 @@ namespace Dino { if (!call_by_sid[account].has_key(sid)) return; Call call = call_by_sid[account][sid]; - bool outgoing_retract = call.direction == Call.DIRECTION_OUTGOING && from.equals_bare(call.counterpart); - bool incoming_retract = call.direction == Call.DIRECTION_INCOMING && from.equals_bare(account.bare_jid); + bool outgoing_retract = call.direction == Call.DIRECTION_OUTGOING && from.equals_bare(account.bare_jid); + bool incoming_retract = call.direction == Call.DIRECTION_INCOMING && from.equals_bare(call.counterpart); if (!(outgoing_retract || incoming_retract)) return; call.state = Call.State.MISSED; |