Software /
code /
prosody
Comparison
plugins/mod_pubsub/pubsub.lib.lua @ 9199:596d0d82a113
mod_pubsub: Advertise support for subscription-options
Initial support was added in d614003a82c1
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 18 Aug 2018 14:38:49 +0200 |
parent | 9198:2ce27be5fdd1 |
child | 9200:249d90ff992e |
comparison
equal
deleted
inserted
replaced
9198:2ce27be5fdd1 | 9199:596d0d82a113 |
---|---|
230 end | 230 end |
231 return true; | 231 return true; |
232 end | 232 end |
233 | 233 |
234 local service_method_feature_map = { | 234 local service_method_feature_map = { |
235 add_subscription = { "subscribe" }; | 235 add_subscription = { "subscribe", "subscription-options" }; |
236 create = { "create-nodes", "instant-nodes", "item-ids", "create-and-configure" }; | 236 create = { "create-nodes", "instant-nodes", "item-ids", "create-and-configure" }; |
237 delete = { "delete-nodes" }; | 237 delete = { "delete-nodes" }; |
238 get_items = { "retrieve-items" }; | 238 get_items = { "retrieve-items" }; |
239 get_subscriptions = { "retrieve-subscriptions" }; | 239 get_subscriptions = { "retrieve-subscriptions" }; |
240 node_defaults = { "retrieve-default" }; | 240 node_defaults = { "retrieve-default" }; |