Commit de8d6bc3 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Fixed typo.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@5096 b35dd754-fafc-0310-a699-88a17e54d16e
parent 2de79b4e
......@@ -1001,7 +1001,7 @@ public class Roster implements Cacheable {
// Do not delete the item if deletedUser belongs to a public group since the
// subcription status will change
!(deletedGroup.isUser(deletedUser) &&
RosterManager.isPulicSharedGroup(deletedGroup))) {
RosterManager.isPublicSharedGroup(deletedGroup))) {
// Delete the roster item from the roster since it exists only because of this
// group which is being removed
deleteRosterItem(deletedUser, false);
......@@ -1010,7 +1010,7 @@ public class Roster implements Cacheable {
// Remove the shared group from the item if deletedUser does not belong to a
// public group
if (!(deletedGroup.isUser(deletedUser) &&
RosterManager.isPulicSharedGroup(deletedGroup))) {
RosterManager.isPublicSharedGroup(deletedGroup))) {
item.removeSharedGroup(deletedGroup);
}
// Get the groups of the deleted user
......
......@@ -376,7 +376,7 @@ public class RosterManager extends BasicModule implements GroupEventListener, Us
* @param group the group to check if it may be seen by all users in the system.
* @return true if the specified Group may be seen by all users in the system.
*/
public static boolean isPulicSharedGroup(Group group) {
public static boolean isPublicSharedGroup(Group group) {
String showInRoster = group.getProperties().get("sharedRoster.showInRoster");
if ("everybody".equals(showInRoster)) {
return true;
......
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