aboutsummaryrefslogtreecommitdiff
path: root/app/shares.php
diff options
context:
space:
mode:
authorGravatar wtoscer <willy@toscer.me> 2019-08-29 15:25:04 +0000
committerGravatar Frans de Jonge <fransdejonge@gmail.com> 2019-08-29 17:25:04 +0200
commit5f4daa9c63affbd083e915d2bde4be82d16a5b5e (patch)
tree79cdfb8579cf0f0a298f30a01aab08b67dceab12 /app/shares.php
parent75632e70f0d49048f4ce72a0fa8bbcbcd7b2d312 (diff)
Add lemmy share (#2510)
Diffstat (limited to 'app/shares.php')
-rw-r--r--app/shares.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/shares.php b/app/shares.php
index 80e8235af..71860c9e3 100644
--- a/app/shares.php
+++ b/app/shares.php
@@ -138,4 +138,10 @@ return array(
'form' => 'simple',
'method' => 'GET',
),
+ 'lemmy' => array(
+ 'url' => '~URL~/create_post?url=~LINK~&name=~TITLE~',
+ 'transform' => array('rawurlencode'),
+ 'form' => 'advanced',
+ 'method' => 'GET',
+ ),
);