[sr-dev] git:master:122e9b42: presence: Always check if a record exists for this dialog before inserting