Quote:
Originally Posted by PiotrM
You can read channels in miranda? How? I can only see people on the channel.
|
Joining and reading channels in mirandaIM (v0.8.27) worked pretty much out of the box for me, here is what i did:
1. Create account: (i like old style ssl)
Type: Secure XMPP Network (old style)
User: <your loginname here>
Server: CrypticSpace.com
Password : <your login password here>
Ressource: <your nickname here>
[x] use custom connection host and port:
CrypticSpace.com : 5223
2. connect.
3. status menu > stoxmpp > services > create/join groupchat
4. fill out the form:
conference server: channels.crypticspace.com
room: <channelname here>
nickname: <nickname here>
password: <leave blank>
5. click ok. channel window opens.
Reading channel chat from there worked well and i also saw who is present in the channel. However talking didn't work.
To answer my own question from up there, I took a look into it what happens.
When i try to send something to a channel with mirandaIM it looks like this (attempt to send a message + error reply) :
<message to="somechannel@channels.crypticspace.com" type="groupchat">
<body>test</body>
</message>
<message type="error" to="mikiy@crypticspace.com/mikiy" from="crypticspace.com" id="cryptic">
<error type="modify">
<bad-request xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
</error>
</message>
For some odd reason the sto xmpp server wants an ID attribute with the message to have it work so this one will work:
<message to="somechannel@channels.crypticspace.com" type="groupchat" id="xyz">
<body>test</body>
</message>
MirandaIM sends it without the ID attribute but the server seems to require it for some reason. The examples in XEP-0045 seem to not have an ID attribute there either, so im not sure why the server requires it, could be a bug, in any case its annoying as it breaks sending to channels with mirandaIM atm (unless entering the command directly as xml).