Skip to content

Commit

Permalink
Remove Lanyard.Analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
Phineas committed Sep 20, 2024
1 parent ae74f78 commit ceb8b2c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 49 deletions.
11 changes: 0 additions & 11 deletions lib/analytics/interface.ex

This file was deleted.

33 changes: 0 additions & 33 deletions lib/analytics/spotify.ex

This file was deleted.

1 change: 0 additions & 1 deletion lib/lanyard.ex
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ defmodule Lanyard do

:ets.new(:cached_presences, [:named_table, :set, :public])
:ets.new(:global_subscribers, [:named_table, :set, :public])
:ets.new(:analytics, [:named_table, :set, :public])

children = [
{Finch, name: Lanyard.Finch},
Expand Down
4 changes: 0 additions & 4 deletions lib/presence/presence.ex
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,6 @@ defmodule Lanyard.Presence do
{:remote_send, %{op: 0, t: "PRESENCE_UPDATE", d: pretty_presence}}
)

Task.start(fn ->
Lanyard.Analytics.presence_tick(state.user_id, pretty_presence)
end)

{:noreply, Map.merge(state, new_state)}
end

Expand Down

0 comments on commit ceb8b2c

Please sign in to comment.