Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Claus <thorstenclaus@web.de>2021-04-09 13:38:47 +0300
committerThorsten Claus <thorstenclaus@web.de>2021-04-18 14:11:25 +0300
commitddee980426403841841053f4b97cf82139eba782 (patch)
tree2dc3a1ce517a9788e7185842dab1efecdbeda57b /app/controllers
parente8442021b699b0f9512624aa22c9cd0331334aa8 (diff)
Adds a local-public tag on the sidebar that shows all posts local to this pod
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/streams_controller.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/controllers/streams_controller.rb b/app/controllers/streams_controller.rb
index 0d0947616..57133e5c8 100644
--- a/app/controllers/streams_controller.rb
+++ b/app/controllers/streams_controller.rb
@@ -25,6 +25,10 @@ class StreamsController < ApplicationController
stream_responder(Stream::Public)
end
+ def local_public
+ stream_responder(Stream::LocalPublic)
+ end
+
def activity
stream_responder(Stream::Activity)
end