]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Contact/Poke.php
Merge pull request #9397 from vinzv/9238-red-color-unread-messages-faded
[friendica.git] / src / Module / Contact / Poke.php
index b4adff46d3d624abd8d1c6f3d7ba09455ccadbc9..9f2ae7bde684e76e3e7e8ad2d7fcc91e2ec4fc61 100644 (file)
@@ -110,9 +110,7 @@ class Poke extends BaseModule
         */
        private static function postReturn(bool $success)
        {
-               if ($success) {
-                       info(DI::l10n()->t('Poke successfully sent.'));
-               } else {
+               if (!$success) {
                        notice(DI::l10n()->t('Error while sending poke, please retry.'));
                }