mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
catch NumberFormatException and return false
git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@12317 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
committed by
wolf.posdorfer
parent
cb2af0af57
commit
bf8da86133
@ -862,12 +862,14 @@ public class ConferenceRoomBrowser extends JPanel implements ActionListener,
|
||||
boolean result = false;
|
||||
try {
|
||||
|
||||
RoomInfo rif = MultiUserChat.getRoomInfo(
|
||||
SparkManager.getConnection(), roomjid);
|
||||
RoomInfo rif = MultiUserChat.getRoomInfo(SparkManager.getConnection(), roomjid);
|
||||
|
||||
result = rif.isMembersOnly() || rif.isPasswordProtected();
|
||||
|
||||
} catch (XMPPException e) {
|
||||
|
||||
} catch (NumberFormatException nfe) {
|
||||
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user