-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
I can do:
$client->message->send($message, $recipient,$msg_type);
where $msg_type = 'chat' and send the specified message to the specified recipient.
changing $msg_type to 'groupchat' does not get the message sent to a chat group.
You have to FIRST do something like:
$client->presence->subscribe("[email protected]/resource_name");
BUT xmpp-php sends:
<presence from='[email protected]' to='[email protected]'
type='subscribe' />
and that does not work for my openchat chat server. I don't get an error but when I do the send() I get a 406 error.
<error code="406" type="modify"><not-acceptable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error>
If we send:
<presence from='[email protected]' to='[email protected]' />
instead... then the send() to the chat room works.
- jack
Metadata
Metadata
Assignees
Labels
No labels