(Jid jid)
| 40 | } |
| 41 | // TODO: move to Roster |
| 42 | public static boolean belongsToTransport(Jid jid) { |
| 43 | Jid j = new Jid(jid.getServer()); |
| 44 | Contact tr = StaticData.getInstance().roster.findContact(j, false); |
| 45 | if (tr != null) { |
| 46 | return j.equals(tr.jid, false); |
| 47 | } |
| 48 | return false; |
| 49 | } |
| 50 | |
| 51 | public static String getTransport(Jid jid) { |
| 52 | try { |
no test coverage detected