RosterDialog.addContactToRoster(): ignore

This commit is contained in:
Sergey Ponomarev
2026-07-27 21:32:31 +03:00
parent 7b1d20f204
commit c538695979

View File

@ -541,8 +541,8 @@ public class RosterDialog implements ActionListener {
try {
roster.preApproveAndCreateEntry(contactJid, displayName, parentNames);
return;
} catch (SmackException.FeatureNotSupportedException e) {
Log.debug("Roster subscription pre-approval is unavailable; using a regular subscription request.");
} catch (SmackException.FeatureNotSupportedException ignored) {
// never happens
}
}
roster.createItemAndRequestSubscription(contactJid, displayName, parentNames);