aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Chat.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-06-01 08:15:33 +0000
committerMario <mario@mariovavti.com>2023-06-01 08:15:33 +0000
commit423fdc0a9618e322636a5291ed92df00115fafb0 (patch)
treef6821e46be08faf5ecddfb98fd999382b75cd043 /Zotlabs/Module/Chat.php
parent396b124e84109655f7e4587589ada8044f034bfa (diff)
downloadvolse-hubzilla-423fdc0a9618e322636a5291ed92df00115fafb0.tar.gz
volse-hubzilla-423fdc0a9618e322636a5291ed92df00115fafb0.tar.bz2
volse-hubzilla-423fdc0a9618e322636a5291ed92df00115fafb0.zip
owa: workaround for friendica when using nginx until this will be fixed at their side and check prrofile uid for features instead of local channel
Diffstat (limited to 'Zotlabs/Module/Chat.php')
-rw-r--r--Zotlabs/Module/Chat.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Chat.php b/Zotlabs/Module/Chat.php
index efe098739..fc74016ab 100644
--- a/Zotlabs/Module/Chat.php
+++ b/Zotlabs/Module/Chat.php
@@ -212,7 +212,7 @@ class Chat extends Controller {
'$online' => t('I am online'),
'$bookmark_link' => $bookmark_link,
'$bookmark' => t('Bookmark this room'),
- '$feature_encrypt' => ((feature_enabled(local_channel(),'content_encrypt')) ? true : false),
+ '$feature_encrypt' => ((feature_enabled(App::$profile['profile_uid'], 'content_encrypt')) ? true : false),
'$cipher' => $cipher,
'$linkurl' => t('Please enter a link URL:'),
'$encrypt' => t('Encrypt text'),