Revert 3ff3ed0c56
case-insensitive compares.
My oops. The comparisons, which are copied from the IMipPlugin shipped with sabre-io/dav, do not need to be case insensitive because the sender and recipient names are normalized by sabre, (see calls to getNormalizedValue in voboject/lib/ITip/Broker.php). Signed-off-by: Brad Rubenstein <brad@wbr.tech>
This commit is contained in:
parent
6421e30b2c
commit
79d20e4758
|
@ -144,11 +144,11 @@ class IMipPlugin extends SabreIMipPlugin {
|
|||
|
||||
$summary = $iTipMessage->message->VEVENT->SUMMARY;
|
||||
|
||||
if (strcasecmp(parse_url($iTipMessage->sender, PHP_URL_SCHEME), 'mailto') !== 0) {
|
||||
if (parse_url($iTipMessage->sender, PHP_URL_SCHEME) !== 'mailto') {
|
||||
return;
|
||||
}
|
||||
|
||||
if (strcasecmp(parse_url($iTipMessage->recipient, PHP_URL_SCHEME), 'mailto') !== 0) {
|
||||
if (parse_url($iTipMessage->recipient, PHP_URL_SCHEME) !== 'mailto') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue