Export to GitHub

molniya - issue #19

change XMPP status only if something changes


Posted on Aug 8, 2010 by Happy Kangaroo

What steps will reproduce the problem? 1. a running molniya instance with one or more warnings etc. 2. a xmpp client with popup status notification (for better visibility of the issue)

What is the expected output? What do you see instead? I'd expect the contact status only to change if something actually changes.

Instead the notification blurb is constantly showing because molniya updates the status every few seconds. It literally never disappears.

What version of the product are you using? On what operating system? molly 0.3 / debian, details see ticket #18

Comment #1

Posted on Aug 9, 2010 by Happy Kangaroo

Attached is a patch that fixes the problem in a quick and dirty manner. As I never touched ruby before I just hacked in a global variable to make it work.

Nevertheless it should give you an idea what I meant.

PS: As a free bonus this should reduce battery and network usage on your mobile device running an XMPP client. ;)

Attachments

Comment #2

Posted on Oct 7, 2010 by Happy Hippo

Good catch. I've got a fix committed.

Status: Fixed

Labels:
Type-Defect Priority-Medium