diff options
author | Linus Jahn <lnj@kaidan.im> | 2022-07-17 00:23:48 +0300 |
---|---|---|
committer | badlop <badlop@gmail.com> | 2022-08-11 13:45:20 +0300 |
commit | d6b72f1c5dba891d6d1bb4a24bb297170b130a73 (patch) | |
tree | 8a7f2f8c097896001016b93480324c2107c3e9f0 /include | |
parent | d450d40178f7d2077f65eb91a34c9cf525471452 (diff) |
mod_roster: Change hook type from #roster{} to #roster_item{}
The problem with #roster{} is that every new record entry is also stored
in the mnesia roster table. Adding the mix_participant_id there makes
no sense because the normal roster items are no MIX channels. Using
\#roster_item{} for the hook and #roster{} for storing the normal items
seems to be a better idea.
Diffstat (limited to 'include')
-rw-r--r-- | include/mod_roster.hrl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/mod_roster.hrl b/include/mod_roster.hrl index 3f9a951c4..6ec05b3da 100644 --- a/include/mod_roster.hrl +++ b/include/mod_roster.hrl @@ -28,8 +28,7 @@ ask = none :: ask() | '_', groups = [] :: [binary()] | '_', askmessage = <<"">> :: binary() | '_', - xs = [] :: [fxml:xmlel()] | '_', - mix_participant_id = <<>> :: binary() | '_' + xs = [] :: [fxml:xmlel()] | '_' }). -record(roster_version, |