From 1e545a6da8e4eb6039a56f1ae6d6083b71f194e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Jaussoin?= Date: Fri, 21 Jul 2023 21:34:53 +0200 Subject: [PATCH] Fix likes and comment publishing Update the dependencies --- composer.lock | 22 ++++++++----------- .../Xec/Action/Microblog/CommentPublish.php | 2 +- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/composer.lock b/composer.lock index b828bdbe6..791941328 100644 --- a/composer.lock +++ b/composer.lock @@ -4436,16 +4436,16 @@ }, { "name": "react/promise-timer", - "version": "v1.9.0", + "version": "v1.10.0", "source": { "type": "git", "url": "https://github.com/reactphp/promise-timer.git", - "reference": "aa7a73c74b8d8c0f622f5982ff7b0351bc29e495" + "reference": "4cb85c1c2125390748e3908120bb82feb99fe766" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/reactphp/promise-timer/zipball/aa7a73c74b8d8c0f622f5982ff7b0351bc29e495", - "reference": "aa7a73c74b8d8c0f622f5982ff7b0351bc29e495", + "url": "https://api.github.com/repos/reactphp/promise-timer/zipball/4cb85c1c2125390748e3908120bb82feb99fe766", + "reference": "4cb85c1c2125390748e3908120bb82feb99fe766", "shasum": "" }, "require": { @@ -4454,7 +4454,7 @@ "react/promise": "^3.0 || ^2.7.0 || ^1.2.1" }, "require-dev": { - "phpunit/phpunit": "^9.3 || ^5.7 || ^4.8.35" + "phpunit/phpunit": "^9.5 || ^5.7 || ^4.8.35" }, "type": "library", "autoload": { @@ -4503,19 +4503,15 @@ ], "support": { "issues": "https://github.com/reactphp/promise-timer/issues", - "source": "https://github.com/reactphp/promise-timer/tree/v1.9.0" + "source": "https://github.com/reactphp/promise-timer/tree/v1.10.0" }, "funding": [ { - "url": "https://github.com/WyriHaximus", - "type": "github" - }, - { - "url": "https://github.com/clue", - "type": "github" + "url": "https://opencollective.com/reactphp", + "type": "open_collective" } ], - "time": "2022-06-13T13:41:03+00:00" + "time": "2023-07-20T15:40:28+00:00" }, { "name": "react/socket", diff --git a/src/Moxl/Xec/Action/Microblog/CommentPublish.php b/src/Moxl/Xec/Action/Microblog/CommentPublish.php index eb98269d4..28f21c705 100644 --- a/src/Moxl/Xec/Action/Microblog/CommentPublish.php +++ b/src/Moxl/Xec/Action/Microblog/CommentPublish.php @@ -25,7 +25,7 @@ public function __construct() public function request() { $this->store(); - Pubsub::postPublish($this->_to, $this->_node, $this->_atom); + Pubsub::postPublish($this->_to, $this->_node, $this->_atom, false); } public function setTo($to)