Sha256: b47f8ccb9e3070eebe8926795fc2497afa9ef50e2b5fe1d9fdabcc50043ce35e
Contents?: true
Size: 604 Bytes
Versions: 14
Compression:
Stored size: 604 Bytes
Contents
# frozen_string_literal: true module JabberAdmin module Commands # Subscribe to a MUC conference, via the mucsub feature. # # @see https://bit.ly/2G5zcrj class UnsubscribeRoom # Pass the correct data to the given callable. # # @param callable [Proc, #call] the callable to call # @param user [String] user JID w/ resource (eg. +tom@localhost/dummy+) # @param room [String] room JID (eg. +room1@conference.localhost+) def self.call(callable, user:, room:) callable.call('unsubscribe_room', user: user, room: room) end end end end
Version data entries
14 entries across 14 versions & 1 rubygems