Class: JabberAdmin::Commands::SubscribeRoom
- Inherits:
-
Object
- Object
- JabberAdmin::Commands::SubscribeRoom
- Defined in:
- lib/jabber_admin/commands/subscribe_room.rb
Overview
Subscribe to a MUC conference, via the mucsub feature.
Class Method Summary collapse
-
.call(callable, user:, nick:, room:, nodes: []) ⇒ Object
Pass the correct data to the given callable.
Class Method Details
.call(callable, user:, nick:, room:, nodes: []) ⇒ Object
Pass the correct data to the given callable.
18 19 20 21 22 23 24 25 |
# File 'lib/jabber_admin/commands/subscribe_room.rb', line 18 def self.call(callable, user:, nick:, room:, nodes: []) callable.call('subscribe_room', check_res_body: false, user: user, nick: nick, room: room, nodes: nodes.join(',')) end |