diff options
author | fiaxh <git@lightrise.org> | 2022-02-12 19:16:38 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2022-02-12 20:23:35 +0100 |
commit | ad00f3f930a7c55b4393a1a00f4de83f65750b32 (patch) | |
tree | 9ef36fe0ea34754ba25210e9dc97c623576b617a /libdino/src/service/call_state.vala | |
parent | 3f169c64d70ee3c4b735d31744be154cccc85d67 (diff) | |
download | dino-ad00f3f930a7c55b4393a1a00f4de83f65750b32.tar.gz dino-ad00f3f930a7c55b4393a1a00f4de83f65750b32.zip |
Remove call notification if other device accepted/denied
Diffstat (limited to 'libdino/src/service/call_state.vala')
-rw-r--r-- | libdino/src/service/call_state.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdino/src/service/call_state.vala b/libdino/src/service/call_state.vala index 452deb4f..da97b792 100644 --- a/libdino/src/service/call_state.vala +++ b/libdino/src/service/call_state.vala @@ -34,7 +34,7 @@ public class Dino.CallState : Object { this.call = call; this.stream_interactor = stream_interactor; - if (call.direction == Call.DIRECTION_OUTGOING) { + if (call.direction == Call.DIRECTION_OUTGOING && call.state != Call.State.OTHER_DEVICE && call.ourpart.equals(call.account.full_jid)) { accepted = true; Timeout.add_seconds(30, () => { |