MCPcopy Create free account
hub / github.com/BombusMod/BombusMod / isTransport

Method isTransport

src/main/java/xmpp/JidUtils.java:35–40  ·  view source on GitHub ↗
(Jid jid)

Source from the content-addressed store, hash-verified

33 }
34
35 public static boolean isTransport(Jid jid) {
36 if (jid.getBare().length() == 0) {
37 return false;
38 }
39 return jid.getBare().indexOf('@') == -1;
40 }
41 // TODO: move to Roster
42 public static boolean belongsToTransport(Jid jid) {
43 Jid j = new Jid(jid.getServer());

Callers 10

blockArrivedMethod · 0.95
RosterItemActionsMethod · 0.95
addMessageMethod · 0.95
updateContactMethod · 0.95
sendDirectPresenceMethod · 0.95
doSubscribeMethod · 0.95
resolveNicknamesMethod · 0.95
messageStoreMethod · 0.95
deleteContactMethod · 0.95
ContactEditMethod · 0.95

Calls 1

getBareMethod · 0.80

Tested by

no test coverage detected