Method: Vines::Router#interested_resources
- Defined in:
- lib/vines/router.rb
#interested_resources(*jids, from) ⇒ Object
Returns streams for all interested resources for this JID. A resource is marked interested after it requests the roster.
42 43 44 45 46 |
# File 'lib/vines/router.rb', line 42 def interested_resources(*jids, from) clients(jids, from) do |stream| stream.interested? end end |