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;
|
this.error = ERROR_NO_ERROR;
|
||||||
self = user;
|
self = user;
|
||||||
if (mNickChangingInProgress) {
|
if (mNickChangingInProgress) {
|
||||||
|
if (onRenameListener != null) {
|
||||||
onRenameListener.onSuccess();
|
onRenameListener.onSuccess();
|
||||||
|
}
|
||||||
mNickChangingInProgress = false;
|
mNickChangingInProgress = false;
|
||||||
} else if (this.onJoinListener != null) {
|
} else if (this.onJoinListener != null) {
|
||||||
this.onJoinListener.onSuccess();
|
this.onJoinListener.onSuccess();
|
||||||
|
|
Loading…
Reference in New Issue