mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-30 20:10:24 -05:00
6 lines
131 B
Ruby
6 lines
131 B
Ruby
class TimelineChannel < ApplicationCable::Channel
|
|
def subscribed
|
|
stream_from "timeline:#{current_user.account_id}"
|
|
end
|
|
end
|