25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Adapt to renaming of 'participant-id' from mix_roster_channel record

This commit is contained in:
Linus Jahn 2022-09-15 23:23:57 +02:00
parent e22d496610
commit eeed1ca87f

View File

@ -226,7 +226,7 @@ get_mix_roster_items(Acc, {LUser, LServer}) ->
subscription = both,
ask = undefined,
groups = [<<"Channels">>],
mix_channel = #mix_roster_channel{'participant-id' = Id}
mix_channel = #mix_roster_channel{participant_id = Id}
}
end, Channels);
_ ->
@ -311,7 +311,7 @@ process_join_result(#iq{from = #jid{} = Channel,
subscription = none,
ask = undefined,
groups = [],
mix_channel = #mix_roster_channel{'participant-id' = ID}
mix_channel = #mix_roster_channel{participant_id = ID}
}),
% send IQ result
ChanID = make_channel_id(Channel, ID),