[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kopete-devel
Subject:    Re: [kopete-devel] How to unset an account mood in Kopete 0.70.90
From:       Matt Rogers <mattr () kde ! org>
Date:       2009-10-01 2:07:56
Message-ID: 200909302107.56535.mattr () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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

["signature.asc" (application/pgp-signature)]

_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic