presence: correctly detect multiple points of presence
commit4fcce77fe8110878eb148a228683e8baf2d95f5f
authorStefan Becker <chemobejk@gmail.com>
Mon, 13 Jun 2011 07:33:48 +0000 (13 10:33 +0300)
committerStefan Becker <chemobejk@gmail.com>
Mon, 13 Jun 2011 07:33:48 +0000 (13 10:33 +0300)
treee63dfb41dd5dc542cd9b5156dd07d2b0b872d530
parent3a825c41466b8a109c26d6060d25f6afdd0a9a77
presence: correctly detect multiple points of presence

Mystery solved: while I was writing the original implementation I was online
with Exchange OWA 2010, which acts as an OC client. That explains the
additional device instance in my logs, doooohhhhh...

Now we count the *unique* instances of the category "device" listed in
roaming-self. If we detect more than one instance than the user is online with
multiple clients.
src/core/sipe.c