start support for songs
This commit is contained in:
@@ -28,24 +28,7 @@ class User {
|
||||
}
|
||||
|
||||
toObj(){
|
||||
let r = {};
|
||||
r.userid = this.userid
|
||||
r.username = this.username;
|
||||
r.profile = this.profile;
|
||||
r.data = this.data;
|
||||
r.username = this.username;
|
||||
r.following = this.following;
|
||||
r.lastUpdate = this.lastUpdate;
|
||||
r.newsFeedCache = this.newsFeedCache;
|
||||
r.notifications = this.notifications;
|
||||
|
||||
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;
|
||||
return { ...this };
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user