aboutsummaryrefslogtreecommitdiffstats
path: root/mod/message.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-11-05 01:25:08 -0800
committerfriendica <info@friendica.com>2012-11-05 01:25:08 -0800
commit2752b58f3323a15b964f6518b7720cb81ccf1b0e (patch)
tree6291006fdbe002d63adcca5a6c369457d10765e3 /mod/message.php
parent5f85f65dcc71c4fea12a2227b5773b991d19199f (diff)
downloadvolse-hubzilla-2752b58f3323a15b964f6518b7720cb81ccf1b0e.tar.gz
volse-hubzilla-2752b58f3323a15b964f6518b7720cb81ccf1b0e.tar.bz2
volse-hubzilla-2752b58f3323a15b964f6518b7720cb81ccf1b0e.zip
plaintext default - richtext is a feature
Diffstat (limited to 'mod/message.php')
-rw-r--r--mod/message.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/mod/message.php b/mod/message.php
index d501f3b54..2e4f175e2 100644
--- a/mod/message.php
+++ b/mod/message.php
@@ -50,10 +50,7 @@ function message_post(&$a) {
$body = ((x($_REQUEST,'body')) ? escape_tags(trim($_REQUEST['body'])) : '');
$recipient = ((x($_REQUEST,'messageto')) ? intval($_REQUEST['messageto']) : 0 );
- // Work around doubled linefeeds in Tinymce 3.5b2
-
- $plaintext = intval(get_pconfig(local_user(),'system','plaintext'));
- if(! $plaintext) {
+ if(feature_enabled(local_user(),'richtext')) {
$body = fix_mce_lf($body);
}