fixed NPE when executing rename callback in muc
This commit is contained in:
parent
8881b71079
commit
5fb77a9739
|
@ -308,7 +308,9 @@ public class MucOptions {
|
|||
this.error = ERROR_NO_ERROR;
|
||||
self = user;
|
||||
if (mNickChangingInProgress) {
|
||||
onRenameListener.onSuccess();
|
||||
if (onRenameListener != null) {
|
||||
onRenameListener.onSuccess();
|
||||
}
|
||||
mNickChangingInProgress = false;
|
||||
} else if (this.onJoinListener != null) {
|
||||
this.onJoinListener.onSuccess();
|
||||
|
|
Loading…
Reference in New Issue