Skip to content

Commit

Permalink
ConferenceRoomBrowser: ignore not_implemented error
Browse files Browse the repository at this point in the history
Signed-off-by: Sergey Ponomarev <[email protected]>
  • Loading branch information
stokito committed Aug 11, 2024
1 parent 2267f9a commit 7093c1c
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
import org.jivesoftware.resource.SparkRes;
import org.jivesoftware.smack.SmackException;
import org.jivesoftware.smack.XMPPException;
import org.jivesoftware.smack.packet.StanzaError;
import org.jivesoftware.smackx.muc.MultiUserChatManager;
import org.jivesoftware.smackx.xdata.form.FillableForm;
import org.jivesoftware.smackx.bookmarks.BookmarkedConference;
Expand Down Expand Up @@ -549,8 +550,13 @@ public void run() {
Log.error("Error setting up GroupChatTable", e);
}
}
} catch (XMPPException.XMPPErrorException e) {
StanzaError.Condition condition = e.getStanzaError().getCondition();
if (condition != StanzaError.Condition.feature_not_implemented) {
Log.error("Unable to retrieve list of rooms from " + serviceName, e);
}
} catch (Exception e) {
Log.error("Unable to retrieve list of rooms.", e);
Log.error("Unable to retrieve list of rooms from " + serviceName, e);
}
stopLoadingImg();
}
Expand Down

0 comments on commit 7093c1c

Please sign in to comment.