Subscribe to buddy's presence only if we really need to. That is, if
authorPhilippe Sultan <philippe.sultan@gmail.com>
Tue, 24 Jun 2008 17:50:22 +0000 (17:50 +0000)
committerPhilippe Sultan <philippe.sultan@gmail.com>
Tue, 24 Jun 2008 17:50:22 +0000 (17:50 +0000)
commit6be95a8a8a6f4d3fdffca6811403a02cd894a933
treec003082ee2aecca9c966e5c3ad192ec53b1dd76a
parentc8688bd9b2d61bba592361855a8b587272c44e59
Subscribe to buddy's presence only if we really need to. That is, if
the corresponding roster item has a subscription value set to "none"
or "from".

Make the code more readable.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@124872 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_jabber.c