From 6db32b5452cc501f521fa2be362fa5be0b8242c7 Mon Sep 17 00:00:00 2001
From: anteater <nt8r@protonmail.com>
Date: Sun, 11 Apr 2021 02:30:48 +0000
Subject: [PATCH] ofono: fix return of incorrect field

---
 plugins/ofono/calls-ofono-call.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/ofono/calls-ofono-call.c b/plugins/ofono/calls-ofono-call.c
index 2b2bc29..ef56a01 100644
--- a/plugins/ofono/calls-ofono-call.c
+++ b/plugins/ofono/calls-ofono-call.c
@@ -112,7 +112,7 @@ calls_ofono_call_get_inbound (CallsCall *call)
 {
   CallsOfonoCall *self = CALLS_OFONO_CALL (call);
 
-  return self->state;
+  return self->inbound;
 }
 
 struct CallsCallOperationData