fix: invalid MapSet usage
This commit is contained in:
parent
83327c71dd
commit
ccbe916aeb
|
@ -95,7 +95,7 @@ defmodule Floof do
|
|||
{backlog, sesskey}
|
||||
|
||||
{:fwddrop, dcdhash} ->
|
||||
to_drop = coalesce_fwddrops(MapSet.new(dcdhash))
|
||||
to_drop = coalesce_fwddrops(MapSet.new([dcdhash]))
|
||||
:ok = send_summary(client, :drop, to_drop)
|
||||
{backlog, sesskey}
|
||||
|
||||
|
|
|
@ -101,6 +101,8 @@ defmodule Floof.SessionManager do
|
|||
end
|
||||
)
|
||||
|
||||
filter_keys = MapSet.delete(filter_keys, nil)
|
||||
|
||||
{:ok, all_keys} = all_session_keys(state)
|
||||
|
||||
# filter_keys contains all subscribed sessions
|
||||
|
|
Loading…
Reference in a new issue