async fn check_existing_txnid( services: &Services, sender_user: &UserId, sender_device: Option<&DeviceId>, txn_id: &TransactionId, ) -> Option<Result<Response>>