wingbot 3.69.0 → 3.69.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wingbot",
3
- "version": "3.69.0",
3
+ "version": "3.69.1",
4
4
  "description": "Enterprise Messaging Bot Conversation Engine",
5
5
  "main": "index.js",
6
6
  "type": "commonjs",
@@ -412,6 +412,13 @@ class Notifications extends EventEmitter {
412
412
  * @returns {Promise<SenderSubscription[]>}
413
413
  */
414
414
  async getSubscriptions (senderId, pageId) {
415
+ if (typeof this._storage.getSenderSubscriptions !== 'function') {
416
+ const tags = await this._storage.getSenderSubscribtions(senderId, pageId);
417
+ return tags.map((tag) => ({
418
+ tag,
419
+ meta: {}
420
+ }));
421
+ }
415
422
  return this._storage.getSenderSubscriptions(senderId, pageId);
416
423
  }
417
424