From 4d8a30e750cfcbb6de91b1a4ee9c55411a146821 Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" Date: Sat, 9 Jan 2016 20:21:22 +0100 Subject: move playing of ringtones to the menu-module --- src/account.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/account.c') diff --git a/src/account.c b/src/account.c index 7b32890..f870e2f 100644 --- a/src/account.c +++ b/src/account.c @@ -493,6 +493,12 @@ uint32_t account_pubint(const struct account *acc) } +enum answermode account_answermode(const struct account *acc) +{ + return acc ? acc->answermode : ANSWERMODE_MANUAL; +} + + static const char *answermode_str(enum answermode mode) { switch (mode) { -- cgit v1.2.3