[Psi-devel] Problem with topic in groupchat

Dan Ohnesorg Dan at ohnesorg.cz
Sat Jan 1 09:38:29 PST 2005


I am playing with jjigw transport between IRC and jabber. I dont see topic
in groupchat in psi and if I set topic, it is set in IRC channel but not
back here.

In xml console I see:

<message type="groupchat" to="#test at jjigw.jabber.rudna.net" >
<subject>aaaa</subject>
<body>/me bylo nastaveno téma: aaaa</body>
</message>

so the setting seems be OK, the response is:

<message from="#test at jjigw.jabber.rudna.net/danohnesorg" type="groupchat"
to="dan at jabber.rudna.net/Psi" >
<body>/me bylo nastaveno téma: aaaa</body>
</message>

and

<message from="#test at jjigw.jabber.rudna.net/danohnesorg" type="groupchat"
to="dan at jabber.rudna.net/Psi" >
<subject>aaaa</subject>
</message>

and this is probably wrong, this message with subject is not interpreted on
psi side.

If I join into jabber MUC, is the packet after setting topic formated
another

<message from="monitoring3 at conference.jabber.rudna.net/dan" type="groupchat" to="dan at jabber.rudna.net/Psi" >
<subject>ahoj</subject>
<body>/me bylo nastaveno téma: ahoj</body>
</message>

Also the subject and body are both sent i one XMPP message.

I don't see where is the problem, becouse in  groupchatdlg.cpp seems the
code be OK

void GCMainDlg::message(const Message &m)
{
        QString from = m.from().resource();
        bool alert = false;

        if(!m.subject().isEmpty()) {
                d->le_topic->setText(m.subject());
                d->le_topic->setCursorPosition(0);
                QToolTip::add(d->le_topic,QString("<qt><p>%1</p></qt>").arg(m.subject()));
        }
........





cheers
dan


More information about the Psi-devel-affinix.com mailing list