Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
Openfire
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Openfire
Commits
ae0ffbfd
Commit
ae0ffbfd
authored
Jan 27, 2016
by
wuchang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
put addListener to LocalMUCRoomManager
parent
53ec74d9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
LocalMUCRoom.java
src/java/org/jivesoftware/openfire/muc/spi/LocalMUCRoom.java
+0
-1
LocalMUCRoomManager.java
...rg/jivesoftware/openfire/muc/spi/LocalMUCRoomManager.java
+1
-0
No files found.
src/java/org/jivesoftware/openfire/muc/spi/LocalMUCRoom.java
View file @
ae0ffbfd
...
...
@@ -382,7 +382,6 @@ public class LocalMUCRoom implements MUCRoom, GroupEventListener {
rolesToBroadcastPresence
.
add
(
"moderator"
);
rolesToBroadcastPresence
.
add
(
"participant"
);
rolesToBroadcastPresence
.
add
(
"visitor"
);
GroupEventDispatcher
.
addListener
(
this
);
}
@Override
...
...
src/java/org/jivesoftware/openfire/muc/spi/LocalMUCRoomManager.java
View file @
ae0ffbfd
...
...
@@ -22,6 +22,7 @@ public class LocalMUCRoomManager {
}
public
void
addRoom
(
String
roomname
,
LocalMUCRoom
room
){
rooms
.
put
(
roomname
,
room
);
GroupEventDispatcher
.
addListener
(
room
);
}
public
Collection
<
LocalMUCRoom
>
getRooms
(){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment