aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-11-03 14:59:14 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-11-03 14:59:14 -0800
commit2c299a9f379b9e8af33cae4270ec1c0c5cf2bc99 (patch)
tree751c48e547ae9c9bf509fb6c2d62503b66fae5d8 /include/conversation.php
parentd13dae6b060ad1147426ae88791cac5970ab3b03 (diff)
downloadvolse-hubzilla-2c299a9f379b9e8af33cae4270ec1c0c5cf2bc99.tar.gz
volse-hubzilla-2c299a9f379b9e8af33cae4270ec1c0c5cf2bc99.tar.bz2
volse-hubzilla-2c299a9f379b9e8af33cae4270ec1c0c5cf2bc99.zip
implement unfollow thread
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/conversation.php b/include/conversation.php
index b2d58a025..a5fe573cd 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -917,6 +917,9 @@ function item_photo_menu($item){
if($item['parent'] == $item['id'] && $channel && ($channel_hash != $item['author_xchan'])) {
$sub_link = 'javascript:dosubthread(' . $item['id'] . '); return false;';
}
+ if($channel) {
+ $unsub_link = 'javascript:dounsubthread(' . $item['id'] . '); return false;';
+ }
}
$profile_link = chanlink_hash($item['author_xchan']);
@@ -941,6 +944,7 @@ function item_photo_menu($item){
$menu = Array(
t("View Source") => $vsrc_link,
t("Follow Thread") => $sub_link,
+ t("Stop Following") => $unsub_link,
t("View Status") => $status_link,
t("View Profile") => $profile_link,
t("View Photos") => $photos_link,