Skip to content

Commit

Permalink
Make fields in message_row type mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
arcusfelis committed Apr 27, 2021
1 parent e406ffb commit 9e4832e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mam/mod_mam.erl
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@

-type borders() :: #mam_borders{}.

-type message_row() :: #{id => message_id(), jid => jid:jid(), packet => exml:element()}.
-type message_row() :: #{id := message_id(), jid := jid:jid(), packet := exml:element()}.
-type lookup_result() :: {TotalCount :: non_neg_integer() | undefined,
Offset :: non_neg_integer() | undefined,
MessageRows :: [message_row()]}.
Expand Down

0 comments on commit 9e4832e

Please sign in to comment.