--===============1936917153== Content-Type: multipart/alternative; boundary=0014851bfe883a61c704751da503 --0014851bfe883a61c704751da503 Content-Type: text/plain; charset=ISO-8859-1 Proposed patch added as an attachment to this bug report : https://bugs.kde.org/show_bug.cgi?id=111329#c3 On Thu, Oct 1, 2009 at 11:20 AM, Romain wrote: > I've added a comment on this existing bug regarding jabber mood : > https://bugs.kde.org/show_bug.cgi?id=111329#c3 > I think i see the fix as you'll see in my comment but do not have the > possibility to test it right now, i'll probably test if for myself in the > next few days if you haven't fixed it yet :) > > BTW, i'm using KDE 4.3.1 on Fedora 11. > Best regards, > Romain > > > > > On Thu, Oct 1, 2009 at 4:07 AM, Matt Rogers wrote: > >> On Wednesday 30 September 2009 07:17:57 Romain wrote: >> > Hi, >> > >> > I've set a mood for myself on a jabber account, but now would like to >> > remove it. >> > It seems clicking "None" does not work, at least not immediately since >> > other colleagues still see the mood with different clients (Gajim, >> > Pidgin..; all linux laptops). >> > >> > Should the change be immediate ? >> > >> > I've seen in protocols/jabber/jabberaccount.cpp (1109-1122) this snippet >> of >> > code : >> > >> > void JabberAccount::slotSetMood() >> > { >> > KAction *action = (KAction *)sender(); >> > Mood::Type type = (Mood::Type)action->data().toInt(); >> > if(type == Mood::None) >> > { >> > } >> > else >> > { >> > PubSubItem psi("current", >> > Mood(type).toXml(*client()->client()->rootTask()->doc())); >> > JT_PubSubPublish *task = new >> > JT_PubSubPublish(client()->client()->rootTask(), QString(" >> > http://jabber.org/protocol/mood"), psi); >> > task->go(true); >> > } >> > } >> > >> > >> > If nothing is done when Mood is None, how is one supposed to reset a >> mood >> > back to None once one has been chosen ? >> > >> > Many thanks, >> > Romain. >> > >> >> I think you've found the answer. :) Could you provide a patch to fix this, >> or >> at the very least file a bug (if there isn't one already?) >> -- >> Matt >> > > > > -- > Romain. > -- Romain. --0014851bfe883a61c704751da503 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Proposed patch added as an attachment to this bug report : https://bugs= .kde.org/show_bug.cgi?id=3D111329#c3

= On Thu, Oct 1, 2009 at 11:20 AM, Romain <romainguinot@gmail.com> wrote:
I've added a = comment on this existing bug regarding jabber mood : https://bugs.kde.o= rg/show_bug.cgi?id=3D111329#c3
I think i see the fix as you'll see in my comment but do not have the p= ossibility to test it right now, i'll probably test if for myself in th= e next few days if you haven't fixed it yet :)

BTW, i'm using KDE 4.3.1 on Fedora 11.
Best regards,
Romain=




On Thu, Oct 1, 2009 at 4:07 AM, Matt Rogers <mattr@kde.org> wr= ote:
<= div>On Wednesday 30 September 2009 07:17:57 Romain wrote:
> Hi,
>
> I've set a mood for myself on a jabber account, but now would like= to
> =A0remove it.
> It seems clicking "None" does not work, at least not immedia= tely since
> =A0other colleagues still see the mood with different clients (Gajim,<= br> > =A0Pidgin..; all linux laptops).
>
> Should the change be immediate ?
>
> I've seen in protocols/jabber/jabberaccount.cpp (1109-1122) this s= nippet of
> code :
>
> void JabberAccount::slotSetMood()
> {
> =A0 =A0 KAction *action =3D (KAction *)sender();
> =A0 =A0 Mood::Type type =3D (Mood::Type)action->data().toInt();
> =A0 =A0 if(type =3D=3D Mood::None)
> =A0 =A0 {
> =A0 =A0 }
> =A0 =A0 else
> =A0 =A0 {
> =A0 =A0 =A0 =A0 PubSubItem psi("current",
> Mood(type).toXml(*client()->client()->rootTask()->doc())); > =A0 =A0 =A0 =A0 JT_PubSubPublish *task =3D new
> JT_PubSubPublish(client()->client()->rootTask(), QString("<= br> > http://j= abber.org/protocol/mood"), psi);
> =A0 =A0 =A0 =A0 task->go(true);
> =A0 =A0 }
> }
>
>
> If nothing is done when Mood is None, how is one supposed to reset a m= ood
> back to None once one has been chosen ?
>
> Many thanks,
> Romain.
>

I think you've found the answer. :) Could you provide a pat= ch to fix this, or
at the very least file a bug (if there isn't one already?)
--
Matt



--
Romain.



--
Romain.
--0014851bfe883a61c704751da503-- --===============1936917153== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kopete-devel mailing list kopete-devel@kde.org https://mail.kde.org/mailman/listinfo/kopete-devel --===============1936917153==--