]> git.mxchange.org Git - friendica.git/commit
Improve error message when conversation isn't available in Module\Item\Display
authorHypolite Petovan <hypolite@mrpetovan.com>
Sat, 19 Nov 2022 01:44:53 +0000 (20:44 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sat, 19 Nov 2022 17:29:08 +0000 (12:29 -0500)
commit525eab395cf4f5883ea50e5584c9a05b7b7e5325
tree475a0d92ce5bdd05e7d9ca1b40a1d04b921ee8cc
parentacc3c2d2c7bb10ff53e9ca2cb335701acfd4f940
Improve error message when conversation isn't available in Module\Item\Display

- Retrieve the parent post no matter what. Previously it was depending on the user's settings, which gave unpredictable behavior if the parent post wasn't retrieved for whatever reason.
- List possible reasons the conversation isn't showing up based on the condition in Model\Post::selectViewForUser
- Allow HTML in exception messages
src/Module/Item/Display.php
view/templates/exception.tpl