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

Method focusToContact

src/main/java/Client/Roster.java:1608–1618  ·  view source on GitHub ↗
(final Contact c, boolean force)

Source from the content-addressed store, hash-verified

1606 }
1607
1608 public void focusToContact(final Contact c, boolean force) {
1609 Group g = c.group;
1610 if (g.collapsed) {
1611 g.collapsed = false;
1612 reEnumerator.queueEnum(c, force);
1613 }
1614 int index = itemsList.indexOf(c);
1615 if (index >= 0) {
1616 moveCursorTo(index);
1617 }
1618 }
1619
1620 public void askReconnect(final Exception e) {
1621 //SplashScreen.getInstance().close();

Callers 5

messageStoreMethod · 0.95
focusToNextUnreadedMethod · 0.95
doUserKeyActionMethod · 0.95
onNewIntentMethod · 0.45
destroyViewMethod · 0.45

Calls 2

queueEnumMethod · 0.80
moveCursorToMethod · 0.80

Tested by

no test coverage detected