prevent expiration of conversations you are involved with - allows you to find your own comments months from now

This commit is contained in:
zotlabs
2017-07-10 20:18:33 -07:00
parent e3734328eb
commit 2d63bbb91e
6 changed files with 36 additions and 4 deletions

View File

@@ -861,8 +861,8 @@ class Item extends \Zotlabs\Web\Controller {
}
if(mb_strlen($datarray['title']) > 255)
$datarray['title'] = mb_substr($datarray['title'],0,255);
if(mb_strlen($datarray['title']) > 191)
$datarray['title'] = mb_substr($datarray['title'],0,191);
if($webpage) {
Zlib\IConfig::Set($datarray,'system', webpage_to_namespace($webpage),
@@ -928,6 +928,11 @@ class Item extends \Zotlabs\Web\Controller {
if($parent) {
// prevent conversations which you are involved from being expired
if(local_channel())
retain_item($parent);
// only send comment notification if this is a wall-to-wall comment,
// otherwise it will happen during delivery