a3rd / molniya

Automatically exported from code.google.com/p/molniya
GNU General Public License v2.0
0 stars 0 forks source link

change XMPP status only if something changes #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

Original issue reported on code.google.com by dm8...@gmail.com on 8 Aug 2010 at 7:14

GoogleCodeExporter commented 9 years ago
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. ;)

Original comment by dm8...@gmail.com on 9 Aug 2010 at 5:08

Attachments:

GoogleCodeExporter commented 9 years ago
Good catch. I've got a fix committed.

Original comment by cswhee...@gmail.com on 7 Oct 2010 at 8:36