aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Suggestedchats.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2022-03-29 11:42:53 +0200
committerMario Vavti <mario@mariovavti.com>2022-03-29 11:42:53 +0200
commit0784cd593a39a4fc297e8a82f7e79bc8019a0868 (patch)
tree22182afb37cf460f8208fff9d276a0672add3185 /Zotlabs/Widget/Suggestedchats.php
parent0e2e9321025f87fe9587f3d183adaea6185e4e20 (diff)
parent9c5d2ee5630dd7033904039dcd1e92db8821b644 (diff)
downloadvolse-hubzilla-0784cd593a39a4fc297e8a82f7e79bc8019a0868.tar.gz
volse-hubzilla-0784cd593a39a4fc297e8a82f7e79bc8019a0868.tar.bz2
volse-hubzilla-0784cd593a39a4fc297e8a82f7e79bc8019a0868.zip
Merge branch '7.2RC'7.2
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