You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CIMP is expecting an encoded combination of jid, username, and password. I cobbled my solution together. I didn't bother to look to see if I could access the username directly, so I just substringed it.
In xmpp_stream.php
This doesn't work:
$stanza->t(base64_encode("\x00".$user."\x00".$pass));
This does work:
$usernamepos = strpos($user,"@");
$username = substr($user,0,$usernamepos);
$stanza->t(base64_encode($user."\x00".$username."\x00".$pass));
CIMP is expecting an encoded combination of jid, username, and password. I cobbled my solution together. I didn't bother to look to see if I could access the username directly, so I just substringed it.