diff options
Diffstat (limited to 'libdino/src/service/call_peer_state.vala')
-rw-r--r-- | libdino/src/service/call_peer_state.vala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libdino/src/service/call_peer_state.vala b/libdino/src/service/call_peer_state.vala index de5c69cb..5fa77926 100644 --- a/libdino/src/service/call_peer_state.vala +++ b/libdino/src/service/call_peer_state.vala @@ -97,6 +97,10 @@ public class Dino.PeerState : Object { } public async void call_resource(Jid full_jid) { + if (!call_state.accepted) { + warning("Tried to call resource in an unaccepted call?!"); + return; + } XmppStream? stream = stream_interactor.get_stream(call.account); if (stream == null) return; |