Fix NPE
This commit is contained in:
parent
105007241e
commit
d042c8afa9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user