Split Identifier struct into seperate types
This commit is contained in:
parent
24f0657710
commit
4b60a145ca
14 changed files with 283 additions and 196 deletions
|
@ -204,8 +204,8 @@ defmodule MatrixServer.StateResolution.Authorization do
|
|||
defp get_action_power_level(:invite, _), do: 50
|
||||
defp get_action_power_level(:ban, %{"ban" => pl}), do: pl
|
||||
defp get_action_power_level(:ban, _), do: 50
|
||||
defp get_action_power_level(:redact, %{"redact" => pl}), do: pl
|
||||
defp get_action_power_level(:redact, _), do: 50
|
||||
# defp get_action_power_level(:redact, %{"redact" => pl}), do: pl
|
||||
# defp get_action_power_level(:redact, _), do: 50
|
||||
defp get_action_power_level(:kick, %{"kick" => pl}), do: pl
|
||||
defp get_action_power_level(:kick, _), do: 50
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue