Skip to content

Commit

Permalink
get user block options from the app state instead of the lobby
Browse files Browse the repository at this point in the history
  • Loading branch information
NBKelly committed Oct 18, 2024
1 parent 4713896 commit 34cf5e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clj/web/lobby.clj
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@
(select-non-nil-keys lobby-keys))))

(defn get-blocked-list [user]
(->> user :options :blocked-users (map str/lower-case)))
(->> (app-state/get-user (:username user)) :options :blocked-users (map str/lower-case)))

(defn filter-lobby-list
[lobbies user]
Expand Down

0 comments on commit 34cf5e9

Please sign in to comment.