Skip to content

Commit

Permalink
presence: update record_route in database
Browse files Browse the repository at this point in the history
(cherry picked from commit e525479)
  • Loading branch information
lazedo committed Dec 9, 2017
1 parent 98528af commit b60b639
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/modules/presence/subscribe.c
Expand Up @@ -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)
{
Expand Down

0 comments on commit b60b639

Please sign in to comment.