Add bible API
This commit is contained in:
@@ -22,9 +22,9 @@ class User {
|
||||
this.isGroup = info.isGroup || false;
|
||||
this.isCourse = info.isCourse || false;
|
||||
this.isPrivate = info.isPrivate || false;
|
||||
this.isChat = info.isChat || false;
|
||||
this.subscribed = info.subscribed || {}; //Subscribed user to groups
|
||||
this.pending = info.subscribed || {}; //Private groups require authorization
|
||||
|
||||
this.pending = info.pending || {}; //Private groups require authorization
|
||||
}
|
||||
|
||||
toObj(){
|
||||
@@ -42,6 +42,7 @@ class User {
|
||||
r.isGroup = this.isGroup;
|
||||
r.isCourse = this.isCourse;
|
||||
r.isPrivate = this.isPrivate;
|
||||
r.isChat = this.isChat;
|
||||
r.subscribed = this.subscribed;
|
||||
r.pending = this.pending;
|
||||
return r;
|
||||
|
||||
Reference in New Issue
Block a user