Better checking for CC'd replies
rodzic
91ca65f9e8
commit
6d46fa45c6
|
@ -1319,8 +1319,12 @@ HTML;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check to see if the user has been specifically CC'd
|
// Check to see if the user has been specifically CC'd
|
||||||
$reply = in_array( "https://{$server}/{$username}", $object["cc"] );
|
if ( isset( $object["cc"] ) ) {
|
||||||
|
$reply = in_array( "https://{$server}/{$username}", $object["cc"] );
|
||||||
|
} else {
|
||||||
|
$reply = false;
|
||||||
|
}
|
||||||
|
|
||||||
// What sort of message is this?
|
// What sort of message is this?
|
||||||
"Create" == $type ? $verb = "wrote" : $verb = "updated";
|
"Create" == $type ? $verb = "wrote" : $verb = "updated";
|
||||||
if ( $reply ) {
|
if ( $reply ) {
|
||||||
|
|
Ładowanie…
Reference in New Issue