-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/28/13 9:58 AM, Adán Sánchez de Pedro Crespo wrote: > Hello everyone, > >> Other solutions can be envisioned, for instance using >> presence=away to signal clients restricting them to send >> important messages only, queuing not as important messages for >> later when online, etc. > > That's exactly what Loqui IM for Firefox OS does. When the app goes > to background or the phone is locked, the "show" is changed to > "away" and the server stops sending it presence stanzas. > > It's not elegant at all, but fits the purpose of saving battery > and keeping the app from being killed by the system. > > Do you know of any other better way to implement this? Shouldn't > we have a standard method to tell a server that it should send a > client important messages only?
How do we define "important"? There's the challenge. :-) Peter - -- Peter Saint-Andre https://stpeter.im/ -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.19 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJSborJAAoJEOoGpJErxa2pckUP+QFFs9sJAizMnhCSgib07yFS vXS6vyOvDTYr/m+b7CupM2Zatv9lZfmaaWuxSMyLTmkTS0ddUKmNs03U52ttPnU5 6Uk53i6zuwdL61KLzMBV3PXND5Clacjfmq8pLaGXSAgzjxWhUte98Md3qg8sEgQa EKTnpP5nbrOQn8U1L/ukfnU64mcegGW/5lCCeiV0hm+eAF2ErIyy99sVK7YkYKcZ 1vlFQy68wpsoHod8SPeSszG7WzhqfgG0cdOaN7TWno6c3OFGLTW8CMfLj2jD4knJ oSmBwj6qTDjoccT00m1rnmEJUHOaAxOVAs/uBp1vdLTWlX0l4u2CE0Rqd8ZEndwx rkVYSxSOU3S14baMYe2B7egUhm2ZaJzCntPiqDQg+AKSTqb/UmLXuLoWNufXzYQt /iSSjHEI+WtFsazo1iV+O6qBdL3/U3biRXeQ+wVdOVUQzCE0/dzgb17g5+AFLEf0 rgge5SRxVCHAurY7gNtd714K/6ES+rRaPQQbaq7/y5BvElBhmhYRAhXxuZ5sbbXV dU8ytzHzXfFFwntUBYuWdWNSjK+ImYCKrQBW3ogX2pJpeYTVeP9yJJaKavZomt/7 gRCkr753Z8Pb+2WuMzvcZWfmPw7/PfK1+Va5Blbg5npsHimPy+jiHpOjuuYnH+nl fnez56ZhUnLaYex/Btxy =AQRj -----END PGP SIGNATURE-----