defmodule CartosnapAppWeb.Presence do
@moduledoc """
Who is looking at a shared trip (`CartosnapAppWeb.ShareLive`), tracked on
`CartosnapApp.Trips.share_topic/1`. Each viewer's meta says who they are
(`name`, `color`), whether they're the trip's owner (`host`) and which
photo they're on (`at`); the host's `at` is what followers follow.
"""
use Phoenix.Presence,
otp_app: :cartosnap_app,
pubsub_server: CartosnapApp.PubSub
end
neiam
/cartosnap_ex
public · Issues · Pulls · Labels · Forks · Compare · Actions success · Badges · Packages
⭐
Log in to mark this repository.
451 B · text
History
44bc4f7