Skip to content

Commit

Permalink
Fix dialyzer warning on R26 in mod_matrix*
Browse files Browse the repository at this point in the history
  • Loading branch information
prefiks committed Feb 19, 2024
1 parent c9deea1 commit 045170a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mod_matrix_gw.erl
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ sign_json(Host, JSON) ->
binary(),
[binary()],
[{binary(), binary()}],
none | jiffy:json_object(),
none | #{atom() | binary() => jiffy:json_value()},
[any()],
[any()]) -> {ok, any()} | {error, any()}.

Expand Down
2 changes: 1 addition & 1 deletion src/mod_matrix_gw_room.erl
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
sender :: binary(),
prev_events :: [binary()],
origin_server_ts :: integer(),
json :: jiffy:json_object(),
json :: #{atom() | binary() => jiffy:json_value()},
state_map}).

-record(data,
Expand Down

0 comments on commit 045170a

Please sign in to comment.