modify
This commit is contained in:
@@ -36,11 +36,15 @@ public class DBUser {
|
||||
this.phone = d.getString("extn");
|
||||
this.status = d.getString("sip_state");
|
||||
String weight = d.getString("weight");
|
||||
if(weight != null) {
|
||||
if (weight != null) {
|
||||
this.isManager = weight.equals("1");
|
||||
} else {
|
||||
this.isManager = false;
|
||||
}
|
||||
String ifMute = d.getString("ifMute");
|
||||
this.isMute = ifMute != null ? ifMute.equals("true") : false;
|
||||
String ifVMute = d.getString("ifVMute");
|
||||
this.isVMute = ifVMute != null ? ifVMute.equals("true") : false;
|
||||
}
|
||||
|
||||
public boolean isBusy() {
|
||||
|
||||
Reference in New Issue
Block a user