Skip to content

Commit

Permalink
presence: log when presentity is deleted due to already existing
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil Lavin committed Jul 27, 2016
1 parent 3c09579 commit 3b206c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/presence/presentity.c
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,8 @@ int delete_presentity_if_dialog_id_exists(presentity_t* presentity, char* dialog
old_presentity.event = presentity->event;
old_presentity.etag = tmp_db_etag;

LM_WARN("Presentity already exists - deleting it\n");

delete_presentity(&old_presentity);

pa_dbf.free_result(pa_db, result);
Expand Down

0 comments on commit 3b206c8

Please sign in to comment.