MCPcopy Index your code
hub / github.com/pyload/pyload / start

Method start

module/plugins/hooks/XMPP.py:326–341  ·  view source on GitHub ↗

Process the session_start event. Typical actions for the session_start event are requesting the roster and broadcasting an initial presence stanza. Arguments: event -- An empty dictionary. The session_start event does not pr

(self, event)

Source from the content-addressed store, hash-verified

324 self.add_event_handler("session_start", self.start)
325
326 def start(self, event):
327 """
328 Process the session_start event.
329
330 Typical actions for the session_start event are
331 requesting the roster and broadcasting an initial
332 presence stanza.
333
334 Arguments:
335 event -- An empty dictionary. The session_start
336 event does not provide any additional
337 data.
338 """
339 self.log_debug('start')
340 self.send_presence()
341 self.get_roster(timeout=60)

Callers 10

interpret_expressionMethod · 0.45
activatedMethod · 0.45
activateMethod · 0.45
activateMethod · 0.45
activateMethod · 0.45
activateMethod · 0.45
activateMethod · 0.45
initMethod · 0.45
activateMethod · 0.45
activateMethod · 0.45

Calls 1

log_debugMethod · 0.80

Tested by

no test coverage detected