fix: add handle_info/2 for distributed_packet messages in PacketDistributor

This commit is contained in:
Graham McIntire 2026-04-17 13:16:45 -05:00
parent 1edfd1d418
commit ab29a3dca5
No known key found for this signature in database
GPG key ID: F4ABF488E6029E59

View file

@ -37,6 +37,12 @@ defmodule Aprsme.Cluster.PacketDistributor do
:ok
end
@impl true
def handle_info({:distributed_packet, _packet} = msg, state) do
handle_distributed_packet(msg)
{:noreply, state}
end
@impl true
def init(_opts) do
Phoenix.PubSub.subscribe(Aprsme.PubSub, @pubsub_topic)