/** * Returns <tt>true</tt> if offline contacts are shown or if the given <tt>MetaContact</tt> is * online, otherwise returns false. * * @param metaContact the <tt>MetaContact</tt> to check * @return <tt>true</tt> if the given <tt>MetaContact</tt> is matching this filter */ public boolean isMatching(SourceContact contact) { return isShowOffline || contact.getPresenceStatus().isOnline() || GuiActivator.getMUCService().isMUCSourceContact(contact); }