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
|
@@ -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
|
|