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

Method setAutoXa

src/main/java/Client/AutoStatus.java:142–152  ·  view source on GitHub ↗
(String msg)

Source from the content-addressed store, hash-verified

140 }
141
142 private void setAutoXa(String msg) {
143 synchronized(this) {
144 isXaSet = true;
145 if (Config.autoAwayType != Config.AWAY_MESSAGE) {
146 sd.roster.sendPresence(Presence.PRESENCE_XA, msg);
147 } else {
148 ExtendedStatus es = StatusList.getInstance().getStatus(Presence.PRESENCE_XA);
149 sd.roster.sendPresence(Presence.PRESENCE_XA, es.getMessage());
150 }
151 }
152 }
153
154 private void restoreStatus() {
155 synchronized(this) {

Callers 1

runMethod · 0.95

Calls 4

getInstanceMethod · 0.95
getMessageMethod · 0.95
sendPresenceMethod · 0.80
getStatusMethod · 0.45

Tested by

no test coverage detected