summaryrefslogtreecommitdiff
path: root/src/account.c
diff options
context:
space:
mode:
authorJuha Heinanen <jh@tutpro.com>2014-09-22 10:33:42 +0300
committerJuha Heinanen <jh@tutpro.com>2014-09-22 10:33:42 +0300
commitdc56c28f8e4680834c2024096d8132a1b80ea9b0 (patch)
tree320bac49223c8505445dece7342b833b0ec45b32 /src/account.c
parentd0ae75c37e100f39013d9bf9aff2a36ee22ca12d (diff)
modules/mwi: subscribe to mwi after registration has succeeded
Diffstat (limited to 'src/account.c')
-rw-r--r--src/account.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/account.c b/src/account.c
index b8945b1..fed2b00 100644
--- a/src/account.c
+++ b/src/account.c
@@ -504,6 +504,12 @@ struct sip_addr *account_laddr(const struct account *acc)
}
+uint32_t account_regint(const struct account *acc)
+{
+ return acc ? acc->regint : 0;
+}
+
+
static const char *answermode_str(enum answermode mode)
{
switch (mode) {