Remove disbanded communities from the browser
This commit is contained in:
parent
42e68d0d7f
commit
66bfcc9d9b
@ -619,6 +619,7 @@ public class CommunityManager extends MiniDbClientPlugin<CommunityMemberData>
|
||||
|
||||
public void handleCommunityDisband(Integer id, String senderName)
|
||||
{
|
||||
_browserCommunities.remove(id);
|
||||
Community community = _loadedCommunities.get(id);
|
||||
if (community == null)
|
||||
{
|
||||
|
@ -16,7 +16,6 @@ public class CommunityBrowserButton extends CommunitiesGUIButton
|
||||
private ICommunity _community;
|
||||
private Player _viewer;
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
public CommunityBrowserButton(Player viewer, ICommunity community)
|
||||
{
|
||||
super(createButton(community));
|
||||
|
@ -24,7 +24,6 @@ public class CommunityBrowserPage extends CommunitiesGUIPage
|
||||
|
||||
private int _page = 1;
|
||||
private boolean _loading = false;
|
||||
private boolean _update = false;
|
||||
|
||||
private List<Integer> _displaying = new ArrayList<>();
|
||||
|
||||
@ -40,7 +39,6 @@ public class CommunityBrowserPage extends CommunitiesGUIPage
|
||||
{
|
||||
if (_loading)
|
||||
{
|
||||
_update = true;
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user