[mICQ] Notification of incoming messages during auto-away
Martin Stubenschrott
stubenschrott at gmx.net
Sun Feb 11 13:31:54 CET 2007
On Sun, Feb 11, 2007 at 01:04:34PM +0100, Rüdiger Kuhlmann wrote:
>
> >--[Martin Stubenschrott]--<stubenschrott at gmx.net>
> > On Fri, Jan 19, 2007 at 11:35:05PM +0100, dokubuntux at arcor.de wrote:
> > > Is it possible to integrate this feature in micq 0.5.3 or is it even so
> > > easy that I can do it myself (maybe by copying some lines of source-code
> > > and recompiling it - but I have no experience in C/C++)?
> > Yeah, I have exactly the same feeling about this feature. I think it
> > wouldn't be hard to do if you know where to start.
>
> --- icq_response.c 5 Dec 2006 21:36:32 -0000 1.220
> +++ icq_response.c 11 Feb 2007 11:50:20 -0000
> @@ -423,7 +423,7 @@
>
> TabAddIn (cont);
>
> - if (uiG.idle_flag)
> + if (conn->status != ims_online)
> {
> if ((cont != uiG.last_rcvd) || !uiG.idle_uins || !uiG.idle_msgs)
> s_repl (&uiG.idle_uins, s_sprintf ("%s %s", uiG.idle_uins && uiG.idle_msgs ? uiG.idle_uins : "", cont->nick));
Oh cool, thanks!
> That could be a quick start. I'm checking how to do it cleanly, though.
> When would you expect the number to be cleared? Upon entering any command?
> Upon the next status change?
I think, when the user enters any command (which could also mean
changing status). Because if the user can enter a command, he's
hopefully back at his pc :)
When changing back to online would be fine as well, although I prefer
the first variant.
> > Hopefully, this is planned for 0.5.3 :)
>
> Planned is whatever comes into my mind when I find the time to do something.
> Which usually includes patches in my inbox. ;-)
cool answer :)
> >--[Míra Štěpánek]--<mirousek at gmail.com>
> > It would be great to implement this even for the online mode and more nicks
> > at the same time ..
>
> Same quesition here. When would you expect the count to be cleared?
I am answering as well, but since that's mira's suggestion, he should as
well...
That's probably becoming more difficult, but I would suggest if I have
messages from 3 people, and when I write a message to somebody, the
count _for this person_ will be cleared, and you are notified only about
the 2 others.
Of course sometime you don't want to reply to a message, so writing
"done" or sth. like that could clear the whole status log.
--
Martin
More information about the mICQ-List
mailing list