This commit is contained in:
Magnus Ulf 2019-02-11 09:29:49 +01:00
parent 105007241e
commit d042c8afa9

View File

@ -107,8 +107,7 @@ public abstract class TypeSenderIdAbstract<T> extends TypeAbstract<T>
{ {
// arg --> senderId // arg --> senderId
String senderId = this.getSenderIdFor(arg); String senderId = this.getSenderIdFor(arg);
// All of our subclasses return null if senderId is null. if (senderId == null) throwError(arg);
// Thus we don't need to check for that being null, but only check ret.
// If presence is online or local and the target is not visible for the sender then throw an error. // If presence is online or local and the target is not visible for the sender then throw an error.
if if