From ca4c414d8ea0b94012d584493609e21925b4e04f Mon Sep 17 00:00:00 2001 From: lazedo Date: Fri, 8 Dec 2017 19:36:20 +0000 Subject: [PATCH] presence: update record_route in database --- src/modules/presence/subscribe.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/modules/presence/subscribe.c b/src/modules/presence/subscribe.c index 3ba9cc4c150..36329ab198e 100644 --- a/src/modules/presence/subscribe.c +++ b/src/modules/presence/subscribe.c @@ -427,6 +427,12 @@ int update_subs_db(subs_t* subs, int type) update_vals[n_update_cols].val.str_val = subs->contact; n_update_cols++; + update_keys[n_update_cols] = &str_record_route_col; + update_vals[n_update_cols].type = DB1_STR; + update_vals[n_update_cols].nul = 0; + update_vals[n_update_cols].val.str_val = subs->record_route; + n_update_cols++; + } if(type & LOCAL_TYPE) {