only call SessionManager when sesskey is not nil

This commit is contained in:
Alain Zscheile 2022-11-26 18:35:05 +01:00
parent fab022df18
commit 6b2c5b2695

View file

@ -162,7 +162,9 @@ defmodule Floof do
backlog
:drop ->
Floof.SessionManager.drop(sesskey, hashes)
if sesskey != nil do
Floof.SessionManager.drop(sesskey, hashes)
end
Map.drop(backlog, hashes)
end