Updates comment-related redux code to support sdk version 0.53.0 #259
1 changed files with 5 additions and 0 deletions
|
@ -119,6 +119,11 @@ const Lbry: LbryTypes = {
|
||||||
// Comments
|
// Comments
|
||||||
comment_list: (params = {}) => daemonCallWithResult('comment_list', params),
|
comment_list: (params = {}) => daemonCallWithResult('comment_list', params),
|
||||||
comment_create: (params = {}) => daemonCallWithResult('comment_create', params),
|
comment_create: (params = {}) => daemonCallWithResult('comment_create', params),
|
||||||
|
// todo: implement these in reducers
|
||||||
|
comment_hide: (params = {}) => daemonCallWithResult('comment_hide', params),
|
||||||
|
comment_abandon: (params = {}) => daemonCallWithResult('comment_abandon', params),
|
||||||
|
comment_edit: (params = {}) => daemonCallWithResult('comment_hide', params),
|
||||||
|
|
||||||
// Connect to the sdk
|
// Connect to the sdk
|
||||||
connect: () => {
|
connect: () => {
|
||||||
if (Lbry.connectPromise === null) {
|
if (Lbry.connectPromise === null) {
|
||||||
|
|
Loading…
Reference in a new issue