aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-06-03 14:47:04 -0700
committerfriendica <info@friendica.com>2012-06-03 14:47:04 -0700
commita66baf29188248fd83ccdf7053a0cf589a9fa8af (patch)
tree3ec279fab94641faa31d9a031dab93260bc416f3 /view
parent959b264c440e0c39ec235defdec42cb485069f18 (diff)
parent2a01ae8149e8a16ea0c0c5619a8dd0b682dba21c (diff)
downloadvolse-hubzilla-a66baf29188248fd83ccdf7053a0cf589a9fa8af.tar.gz
volse-hubzilla-a66baf29188248fd83ccdf7053a0cf589a9fa8af.tar.bz2
volse-hubzilla-a66baf29188248fd83ccdf7053a0cf589a9fa8af.zip
Merge pull request #323 from fermionic/add-relayable-retraction-support-for-diaspora
Add relayable retraction support for diaspora
Diffstat (limited to 'view')
-rwxr-xr-x[-rw-r--r--]view/diaspora_like_relay.tpl4
-rw-r--r--view/diaspora_relay_retraction.tpl10
-rwxr-xr-xview/diaspora_relayable_retraction.tpl11
3 files changed, 23 insertions, 2 deletions
diff --git a/view/diaspora_like_relay.tpl b/view/diaspora_like_relay.tpl
index 65559b05b..8b67f4de3 100644..100755
--- a/view/diaspora_like_relay.tpl
+++ b/view/diaspora_like_relay.tpl
@@ -5,9 +5,9 @@
<target_type>$target_type</target_type>
<parent_guid>$parent_guid</parent_guid>
<parent_author_signature>$parentsig</parent_author_signature>
- <author_signature>$authrosig</author_signature>
+ <author_signature>$authorsig</author_signature>
<positive>$positive</positive>
<diaspora_handle>$handle</diaspora_handle>
</like>
</post>
-</XML> \ No newline at end of file
+</XML>
diff --git a/view/diaspora_relay_retraction.tpl b/view/diaspora_relay_retraction.tpl
new file mode 100644
index 000000000..e76c7c6c5
--- /dev/null
+++ b/view/diaspora_relay_retraction.tpl
@@ -0,0 +1,10 @@
+<XML>
+ <post>
+ <relayable_retraction>
+ <target_type>$type</target_type>
+ <target_guid>$guid</target_guid>
+ <target_author_signature>$signature</target_author_signature>
+ <sender_handle>$handle</sender_handle>
+ </relayable_retraction>
+ </post>
+</XML>
diff --git a/view/diaspora_relayable_retraction.tpl b/view/diaspora_relayable_retraction.tpl
new file mode 100755
index 000000000..73cff8343
--- /dev/null
+++ b/view/diaspora_relayable_retraction.tpl
@@ -0,0 +1,11 @@
+<XML>
+ <post>
+ <relayable_retraction>
+ <target_type>$target_type</target_type>
+ <target_guid>$guid</target_guid>
+ <parent_author_signature>$parentsig</parent_author_signature>
+ <target_author_signature>$authorsig</target_author_signature>
+ <sender_handle>$handle</sender_handle>
+ </relayable_retraction>
+ </post>
+</XML>