diff options
-rw-r--r-- | libempathy/empathy-tp-call.c | 8 | ||||
-rw-r--r-- | libempathy/empathy-tp-call.h | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-call.c b/libempathy/empathy-tp-call.c index 78ee6d005..3aae89fce 100644 --- a/libempathy/empathy-tp-call.c +++ b/libempathy/empathy-tp-call.c @@ -854,3 +854,11 @@ empathy_tp_call_leave (EmpathyTpCall *self) tp_cli_channel_interface_group_call_remove_members (priv->channel, -1, &array, "", leave_remove_members_cb, self, NULL, G_OBJECT (self)); } + +EmpathyTpCallStatus +empathy_tp_call_get_status (EmpathyTpCall *self) +{ + EmpathyTpCallPriv *priv = GET_PRIV (self); + + return priv->status; +} diff --git a/libempathy/empathy-tp-call.h b/libempathy/empathy-tp-call.h index ed3ae0d9f..ff51055e7 100644 --- a/libempathy/empathy-tp-call.h +++ b/libempathy/empathy-tp-call.h @@ -94,6 +94,8 @@ gboolean empathy_tp_call_has_initial_video (EmpathyTpCall *self); void empathy_tp_call_leave (EmpathyTpCall *self); +EmpathyTpCallStatus empathy_tp_call_get_status (EmpathyTpCall *self); + G_END_DECLS #endif /* __EMPATHY_TP_CALL_H__ */ |