Skip to content

Commit 67cc0c5

Browse files
committed
Handle objects that don't need conversion in mod_mam_mnesia:transform()
This should fix issue #4374
1 parent 826123d commit 67cc0c5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/mod_mam_mnesia.erl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,4 +365,6 @@ transform({archive_msg, US, ID, Timestamp, Peer, BarePeer,
365365
packet = Packet,
366366
nick = Nick,
367367
type = Type,
368-
origin_id = <<"">>}.
368+
origin_id = <<"">>};
369+
transform(Other) ->
370+
Other.

0 commit comments

Comments
 (0)