Merge pull request #2197 from annando/1512-ostatus-comment

Reworked delivery and notifier process - changed OStatus behaviour
This commit is contained in:
Tobias Diekershoff 2015-12-27 15:58:32 +01:00
commit 8d8dc2d060
8 changed files with 440 additions and 716 deletions

View file

@ -1251,7 +1251,7 @@ function get_guid($size=16, $prefix = "") {
$prefix = substr($prefix, 0, $size - 22);
return(str_replace(".", "", uniqid($prefix, true)));
} else {
$prefix = substr($prefix, 0, $size - 13);
$prefix = substr($prefix, 0, max($size - 13, 0));
return(uniqid($prefix));
}
}