Tomasz Sterna
Tomasz Sterna
I am sorry I took time to contribute to your project. I will stop now and won't bother you again.
``` xml RECV: ``` and at https://github.com/candy-chat/candy/blob/v2.0.0/src/core/event.js#L790 we have ``` js } else if(msg.children('body').length > 0) { // Private chat message if(msg.attr('type') === 'chat' || msg.attr('type') === 'normal') { [...]...
Doh... If it was easy to fix, I would just post a diff. :-( This whole `else if` depends on 'body' existence... And I cannot just put `_checkForChatStateNotification` in the...
As for the test case, drop https://github.com/candy-chat/candy/blob/master/tests/candy/unit/core/event.js#L1302-1303 ``` diff bdd.describe('of state composing', function () { var receiveMessage = function () { testHelper.receiveStanza( $msg({ to: '[email protected]', from: '[email protected]/resource1', type: 'chat' })...
BTW, this is exactly how Android app handles the notifications filtering
@smurfy toyed around calendar at https://github.com/smurfy/fahrplan/pull/168
See http://talk.maemo.org/showpost.php?p=1465360&postcount=313
I tried implementing it, but to no success. Following notification: ``` method call sender=:1.0 -> dest=com.nokia.voland serial=362 path=/com/nokia/voland; interface=com.nokia.voland; member=open array [ variant struct { [...] ] ``` Causes reply...
Shouldn't this be implemented in WatchConnector?
With current implementation it is still possible to flood Pebble with messages. Only notifications source of messages is protected - others are not. i.e. I could flood Pebble with MUSIC...