Skip to content

Commit

Permalink
Fix tests 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Waz committed Nov 7, 2022
1 parent 5e69c4c commit d9565e2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/mam/mod_mam_riak_timed_arch_yz.erl
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@ lookup_messages_muc(Result, #{params := #{with_jid := WithJID} = Params}, #{host
Params :: map(),
Extra :: map().
archive_size(_Size, #{owner := ArchiveJID}, #{host_type := Host}) ->
archive_size(ArchiveJID, Host);
archive_size(_Size, #{room := ArchiveJID}, #{host_type := Host}) ->
archive_size(ArchiveJID, Host).

archive_size(ArchiveJID, Host) ->
OwnerJID = mod_mam_utils:bare_jid(ArchiveJID),
RemoteJID = undefined,
{MsgIdStartNoRSM, MsgIdEndNoRSM} =
Expand Down

0 comments on commit d9565e2

Please sign in to comment.