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

Method shouldNotify

src/main/java/Client/Roster.java:1330–1338  ·  view source on GitHub ↗
(Contact c)

Source from the content-addressed store, hash-verified

1328//#endif
1329
1330 boolean shouldNotify(Contact c) {
1331 if (cf.popUps == Notification.NOTIFICATOR_TYPE_NONE) {
1332 return false;
1333 }
1334 if (activeContact == null) {
1335 return true;
1336 }
1337 return (!c.equals(activeContact));
1338 }
1339
1340//#ifdef FILE_TRANSFER
1341 public void addFileQuery(String from, String message) {

Callers 1

messageStoreMethod · 0.95

Calls 1

equalsMethod · 0.45

Tested by

no test coverage detected