diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-07-11 16:11:52 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-07-11 16:11:52 +0200 |
commit | 403e90861cccecc3179e380b084238e1294fe61e (patch) | |
tree | a14f7f3710f729fb91bc2242781cc7b2623b68aa /Zotlabs/Module/Item.php | |
parent | 271ed82d0def7b658f074ada9adb1aaa51bdd507 (diff) | |
parent | 2d63bbb91e97d3a54440564620ef3093ecbe71fb (diff) | |
download | volse-hubzilla-403e90861cccecc3179e380b084238e1294fe61e.tar.gz volse-hubzilla-403e90861cccecc3179e380b084238e1294fe61e.tar.bz2 volse-hubzilla-403e90861cccecc3179e380b084238e1294fe61e.zip |
Merge red/master
Diffstat (limited to 'Zotlabs/Module/Item.php')
-rw-r--r-- | Zotlabs/Module/Item.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php index e96d4c669..9e64528fa 100644 --- a/Zotlabs/Module/Item.php +++ b/Zotlabs/Module/Item.php @@ -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 |