mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-23 18:52:41 +00:00
5 lines
131 B
Ruby
5 lines
131 B
Ruby
class TimelineChannel < ApplicationCable::Channel
|
|
def subscribed
|
|
stream_from "timeline:#{current_user.account_id}"
|
|
end
|
|
end
|