mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 01:39:35 +02:00
Store role, and use it when joining a moderated room (#3330)
This commit is contained in:
parent
add55e1947
commit
4d3875f4ff
3 changed files with 24 additions and 4 deletions
|
@ -122,6 +122,7 @@
|
|||
robots = #{} :: robots(),
|
||||
nicks = #{} :: nicks(),
|
||||
affiliations = #{} :: affiliations(),
|
||||
roles = #{} :: roles(),
|
||||
history = #lqueue{} :: lqueue(),
|
||||
subject = [] :: [text()],
|
||||
subject_author = <<"">> :: binary(),
|
||||
|
@ -137,3 +138,4 @@
|
|||
-type robots() :: #{jid() => {binary(), stanza()}}.
|
||||
-type nicks() :: #{binary() => [ljid()]}.
|
||||
-type affiliations() :: #{ljid() => affiliation() | {affiliation(), binary()}}.
|
||||
-type roles() :: #{ljid() => role() | {role(), binary()}}.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue