Skip to content
Back to top
View this page

# XEP-0502: MUC Activity Indicator

class slixmpp.plugins.xep_0502.XEP_0502(xmpp, config=None)

  XEP-0502: MUC Activity Indicator

  dependencies: ClassVar[Set[str]] = {'xep_0030', 'xep_0128'}

    Some plugins may depend on others in order to function properly. Any plugin names included in `dependencies` will be initialized as needed if this plugin is enabled.

  description: str = 'XEP-0502: MUC Activity Indicator'

    A longer name for the plugin, describing its purpose. For example, a plugin for XEP-0030 would use ‘Service Discovery’ as its description value.

  async get_activity(jid, **iqargs)

    Return the activity of a room, or None if the activity is not found

    Return type:

      `float` | `None`

  name: str = 'xep_0502'

    A short name for the plugin based on the implemented specification. For example, a plugin for XEP-0030 would use ‘xep_0030’.