aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Chatroom.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-04-01 16:53:10 -0700
committerzotlabs <mike@macgirvin.com>2018-04-01 16:53:10 -0700
commitbcffb6cf55ff2d9d88fcb38105695b14ea3586b3 (patch)
tree23e0249aa062d19450ce032ce32e454fd5ce4bf9 /Zotlabs/Lib/Chatroom.php
parent4493304fa79aded582b65498aacf6db48a788bdc (diff)
downloadvolse-hubzilla-bcffb6cf55ff2d9d88fcb38105695b14ea3586b3.tar.gz
volse-hubzilla-bcffb6cf55ff2d9d88fcb38105695b14ea3586b3.tar.bz2
volse-hubzilla-bcffb6cf55ff2d9d88fcb38105695b14ea3586b3.zip
obscurify chats
Diffstat (limited to 'Zotlabs/Lib/Chatroom.php')
-rw-r--r--Zotlabs/Lib/Chatroom.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Chatroom.php b/Zotlabs/Lib/Chatroom.php
index e762620ae..882c846cd 100644
--- a/Zotlabs/Lib/Chatroom.php
+++ b/Zotlabs/Lib/Chatroom.php
@@ -266,7 +266,7 @@ class Chatroom {
intval($room_id),
dbesc($xchan),
dbesc(datetime_convert()),
- dbesc($arr['chat_text'])
+ dbesc(str_rot47(base64url_encode($arr['chat_text'])))
);
$ret['success'] = true;