|
|
@ -139,6 +139,7 @@ class LokiAppDotNetServerAPI {
|
|
|
|
if (!thisChannel) {
|
|
|
|
if (!thisChannel) {
|
|
|
|
log.info(`LokiAppDotNetAPI registering channel ${conversationId}`);
|
|
|
|
log.info(`LokiAppDotNetAPI registering channel ${conversationId}`);
|
|
|
|
// make sure we're subscribed
|
|
|
|
// make sure we're subscribed
|
|
|
|
|
|
|
|
// eventually we'll need to move to account registration/add server
|
|
|
|
await this.serverRequest(`channels/${channelId}/subscribe`, {
|
|
|
|
await this.serverRequest(`channels/${channelId}/subscribe`, {
|
|
|
|
method: 'POST',
|
|
|
|
method: 'POST',
|
|
|
|
});
|
|
|
|
});
|
|
|
@ -433,7 +434,7 @@ class LokiAppDotNetServerAPI {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
});
|
|
|
|
});
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
// not implemented on backend yet
|
|
|
|
// not deployed on all backends yet
|
|
|
|
res.err = 'array subscribers endpoint not yet implemented';
|
|
|
|
res.err = 'array subscribers endpoint not yet implemented';
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
var list = channelId;
|
|
|
|
var list = channelId;
|
|
|
|