Skip to content

Commit

Permalink
fix force_push_join_leave on top level namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
FZambia committed Oct 13, 2022
1 parent 2d655b7 commit a2409fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ func bindCentrifugoConfig() {

"presence": false,
"join_leave": false,
"force_push_join_leave": false,
"history_size": 0,
"history_ttl": 0,
"force_positioning": false,
Expand Down Expand Up @@ -1388,6 +1389,7 @@ func ruleConfig() rule.Config {

cfg.Presence = v.GetBool("presence")
cfg.JoinLeave = v.GetBool("join_leave")
cfg.ForcePushJoinLeave = v.GetBool("force_push_join_leave")
cfg.HistorySize = v.GetInt("history_size")
cfg.HistoryTTL = tools.Duration(GetDuration("history_ttl", true))
cfg.ForcePositioning = v.GetBool("force_positioning")
Expand Down

0 comments on commit a2409fb

Please sign in to comment.