aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Jahn <lnj@kaidan.im>2022-09-15 23:23:57 +0200
committerLinus Jahn <lnj@kaidan.im>2022-09-16 12:29:50 +0200
commiteeed1ca87fef84524032331c59a7a7b33c49ea8c (patch)
tree5e3e6fb919ea8d06f377bc9cb0e07d60facdacdc
parentUpdate xmpp module (diff)
Adapt to renaming of 'participant-id' from mix_roster_channel record
-rw-r--r--src/mod_mix_pam.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_mix_pam.erl b/src/mod_mix_pam.erl
index 379ab3930..7bd6f2a71 100644
--- a/src/mod_mix_pam.erl
+++ b/src/mod_mix_pam.erl
@@ -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),