MCPcopy Index your code
hub / github.com/BombusMod/BombusMod / storeContact

Method storeContact

src/main/java/Client/Roster.java:2131–2136  ·  view source on GitHub ↗
(Contact c, boolean askSubscribe)

Source from the content-addressed store, hash-verified

2129 }
2130
2131 public void storeContact(Contact c, boolean askSubscribe) {
2132 sd.getTheStream().send(RosterDispatcher.QueryRoster(c.getJid(), c.nick, (c.group == null || c.getGroupType() == Groups.TYPE_NOT_IN_LIST) ? SR.MS_GENERAL : c.group.name, null));
2133 if (askSubscribe) {
2134 doSubscribe(c);
2135 }
2136 }
2137
2138 public void loginMessage(String msg, int pos) {
2139 setProgress(msg, pos);

Callers 4

blockArrivedMethod · 0.80
blockArrivedMethod · 0.80
cmdOkMethod · 0.80
cmdOkMethod · 0.80

Calls 6

QueryRosterMethod · 0.95
doSubscribeMethod · 0.95
getTheStreamMethod · 0.80
getGroupTypeMethod · 0.80
sendMethod · 0.45
getJidMethod · 0.45

Tested by

no test coverage detected