aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Suggestedchats.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-02-21 10:02:33 +0000
committerMario <mario@mariovavti.com>2022-02-21 10:02:33 +0000
commita80454978181eebf7813a10c00b3166f66300b3f (patch)
tree7f68f93c3d3894ebc05a9382ea3d7449dfdc288a /Zotlabs/Widget/Suggestedchats.php
parent2a60f1cc6ed49ab559090c831788308fe3df0706 (diff)
downloadvolse-hubzilla-a80454978181eebf7813a10c00b3166f66300b3f.tar.gz
volse-hubzilla-a80454978181eebf7813a10c00b3166f66300b3f.tar.bz2
volse-hubzilla-a80454978181eebf7813a10c00b3166f66300b3f.zip
remove deprecated widgets and add some more widget descriptions
Diffstat (limited to 'Zotlabs/Widget/Suggestedchats.php')
-rw-r--r--Zotlabs/Widget/Suggestedchats.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/Zotlabs/Widget/Suggestedchats.php b/Zotlabs/Widget/Suggestedchats.php
index 7df42944d..75df0c9e6 100644
--- a/Zotlabs/Widget/Suggestedchats.php
+++ b/Zotlabs/Widget/Suggestedchats.php
@@ -1,14 +1,18 @@
<?php
+/**
+ * * Name: Suggested chats
+ * * Description: A menu with chatroom suggestions
+ * * Requires: disabled_due_to_reasons
+ */
+
+
namespace Zotlabs\Widget;
class Suggestedchats {
function widget($arr) {
- if(! feature_enabled(\App::$profile['profile_uid'],'ajaxchat'))
- return '';
-
// There are reports that this tool does not ever remove chatrooms on dead sites,
// and also will happily link to private chats which you cannot enter.
// For those reasons, it will be disabled until somebody decides it's worth