(JabberDataBlock data)
| 65 | } |
| 66 | |
| 67 | public int blockArrived(JabberDataBlock data) { |
| 68 | if (!cf.useQuickPrivacy) |
| 69 | return BLOCK_REJECTED; |
| 70 | |
| 71 | try { |
| 72 | if (data.getTypeAttribute().equals("result")) { |
| 73 | if (data.getAttribute("id").equals("quicklst")) { |
| 74 | if (cf.useQuickPrivacy) { |
| 75 | new PrivacyList(LIST_QUICKPRIVACY).activate("active"); |
| 76 | new PrivacyList(LIST_QUICKPRIVACY).activate("default"); |
| 77 | } |
| 78 | return JabberBlockListener.NO_MORE_BLOCKS; |
| 79 | } |
| 80 | } |
| 81 | } catch (Exception e) { |
| 82 | } |
| 83 | return BLOCK_REJECTED; |
| 84 | } |
| 85 | |
| 86 | /* |
| 87 | item action="deny" type="subscription" value="none" order="666" |
nothing calls this directly
no test coverage detected