Commit 8fc31865 authored by Dave Cridland's avatar Dave Cridland

OF-1291 Advertise MAM features on MUC rooms

parent 646840d7
......@@ -78,6 +78,7 @@ public abstract class AbstractXepSupport {
MultiUserChatManager manager = server.getMultiUserChatManager();
for (MultiUserChatService mucService : manager.getMultiUserChatServices()) {
mucService.addIQHandler(iqHandler);
mucService.addExtraFeature(namespace);
}
}
}
......@@ -110,6 +111,7 @@ public abstract class AbstractXepSupport {
MultiUserChatManager manager = server.getMultiUserChatManager();
for (MultiUserChatService mucService : manager.getMultiUserChatServices()) {
mucService.removeIQHandler(iqHandler);
mucService.removeExtraFeature(namespace);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment