Skip to content

Commit

Permalink
topos: update contact only for INVTE requests within dialog
Browse files Browse the repository at this point in the history
(cherry picked from commit 914e56b)
  • Loading branch information
miconda committed Jan 15, 2018
1 parent 5cba238 commit 63d3280
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/modules/topos/tps_msg.c
Expand Up @@ -1002,9 +1002,9 @@ int tps_request_sent(sip_msg_t *msg, int dialog, int local)

if(dialog!=0) {
tps_storage_end_dialog(msg, &mtsd, ptsd);
}
if(tps_storage_update_dialog(msg, &mtsd, &stsd, TPS_DBU_CONTACT)<0) {
goto error;
if(tps_storage_update_dialog(msg, &mtsd, &stsd, TPS_DBU_CONTACT)<0) {
goto error;
}
}

done:
Expand Down

0 comments on commit 63d3280

Please sign in to comment.