Browse Source

The function is only needed in the same class

pull/5815/head
Michael 3 years ago
parent
commit
acd1caa114
  1. 2
      src/Protocol/ActivityPub/Transmitter.php

2
src/Protocol/ActivityPub/Transmitter.php

@ -442,7 +442,7 @@ class Transmitter
*
* @return activity type
*/
public static function getTypeOfItem($item)
private static function getTypeOfItem($item)
{
if ($item['verb'] == ACTIVITY_POST) {
if ($item['created'] == $item['edited']) {

Loading…
Cancel
Save