src/EventListener/Stream/BlockedUsers.php 1 location
|
@@ 69-75 (lines=7) @@
|
66 |
|
/** |
67 |
|
* {@inheritDoc} |
68 |
|
*/ |
69 |
|
public function attachEvents() |
70 |
|
{ |
71 |
|
$this->getOutputEventManager() |
72 |
|
->attach('{urn:xmpp:blocking}blocklist', [$this, 'query']); |
73 |
|
$this->getInputEventManager() |
74 |
|
->attach('{urn:xmpp:blocking}blocklist', [$this, 'result']); |
75 |
|
} |
76 |
|
|
77 |
|
/** |
78 |
|
* Sending a query request for roster sets listener to blocking mode. |
src/EventListener/Stream/Register.php 1 location
|
@@ 69-75 (lines=7) @@
|
66 |
|
/** |
67 |
|
* {@inheritDoc} |
68 |
|
*/ |
69 |
|
public function attachEvents() |
70 |
|
{ |
71 |
|
$this->getOutputEventManager() |
72 |
|
->attach('{http://jabber.org/protocol/commands}command', [$this, 'query']); |
73 |
|
$this->getInputEventManager() |
74 |
|
->attach('{http://jabber.org/protocol/commands}command', [$this, 'result']); |
75 |
|
} |
76 |
|
|
77 |
|
/** |
78 |
|
* Sending a query request for roster sets listener to blocking mode. |
src/EventListener/Stream/Roster.php 1 location
|
@@ 69-75 (lines=7) @@
|
66 |
|
/** |
67 |
|
* {@inheritDoc} |
68 |
|
*/ |
69 |
|
public function attachEvents() |
70 |
|
{ |
71 |
|
$this->getOutputEventManager() |
72 |
|
->attach('{jabber:iq:roster}query', [$this, 'query']); |
73 |
|
$this->getInputEventManager() |
74 |
|
->attach('{jabber:iq:roster}query', [$this, 'result']); |
75 |
|
} |
76 |
|
|
77 |
|
/** |
78 |
|
* Sending a query request for roster sets listener to blocking mode. |