diff options
author | Evgeny Khramtsov <ekhramtsov@process-one.net> | 2019-06-28 22:16:29 +0300 |
---|---|---|
committer | Evgeny Khramtsov <ekhramtsov@process-one.net> | 2019-06-28 22:16:29 +0300 |
commit | a2a061c1c8d78adea4e33b1a38187fc4226a9190 (patch) | |
tree | 3c077fdfb9c4a677fcd02dcc19b96a48dfab7589 /include | |
parent | 6011135d249805bd35a65a322f9a8cb7ec69280b (diff) |
Avoid using broad p1_queue:queue() type wherever possible
Diffstat (limited to 'include')
-rw-r--r-- | include/mod_muc_room.hrl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mod_muc_room.hrl b/include/mod_muc_room.hrl index 46eb149bb..2f09e5a5c 100644 --- a/include/mod_muc_room.hrl +++ b/include/mod_muc_room.hrl @@ -24,7 +24,7 @@ -record(lqueue, { - queue = p1_queue:new() :: p1_queue:queue(), + queue = p1_queue:new() :: p1_queue:queue(lqueue_elem()), max = 0 :: integer() }). @@ -118,7 +118,7 @@ just_created = erlang:system_time(microsecond) :: true | integer(), activity = treap:empty() :: treap:treap(), room_shaper = none :: ejabberd_shaper:shaper(), - room_queue :: p1_queue:queue() | undefined + room_queue :: p1_queue:queue({message | presence, jid()}) | undefined }). -type users() :: #{ljid() => #user{}}. |