Skip to content

Commit

Permalink
Updated Amazon avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
the-djmaze committed May 26, 2024
1 parent 4dc7ad0 commit 478087f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Binary file modified plugins/avatars/images/services/amazon.com.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions plugins/avatars/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ class AvatarsPlugin extends \RainLoop\Plugins\AbstractPlugin
NAME = 'Avatars',
AUTHOR = 'SnappyMail',
URL = 'https://snappymail.eu/',
VERSION = '1.16',
RELEASE = '2024-03-12',
VERSION = '1.17',
RELEASE = '2024-05-26',
REQUIRED = '2.25.0',
CATEGORY = 'Contacts',
LICENSE = 'MIT',
Expand Down Expand Up @@ -304,6 +304,7 @@ private static function serviceDomain(string $sDomain) : string
$sDomain = \preg_replace('/^(.+\\.)?(paypal\\.[a-z][a-z])$/D', 'paypal.com', $sDomain);
$sDomain = \preg_replace('/^facebookmail.com$/D', 'facebook.com', $sDomain);
$sDomain = \preg_replace('/^dhlparcel.nl$/D', 'dhl.com', $sDomain);
$sDomain = \preg_replace('/^amazon.nl$/D', 'amazon.com', $sDomain);
$sDomain = \preg_replace('/^.+\\.([^.]+\\.[^.]+)$/D', '$1', $sDomain);
return $sDomain;
}
Expand Down

0 comments on commit 478087f

Please sign in to comment.