mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 02:05:19 +02:00
Merge pull request #2197 from annando/1512-ostatus-comment
Reworked delivery and notifier process - changed OStatus behaviour
This commit is contained in:
commit
8d8dc2d060
8 changed files with 440 additions and 716 deletions
2
boot.php
2
boot.php
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue