blacklist jingle in caps. TYhis mean that if clientr don't support caps, we assume it doesn't support jingle
This commit is contained in:
parent
1ee2e72a02
commit
44ab50d080
|
@ -37,8 +37,11 @@ import base64
|
||||||
import hashlib
|
import hashlib
|
||||||
|
|
||||||
from common.xmpp import NS_XHTML_IM, NS_RECEIPTS, NS_ESESSION, NS_CHATSTATES
|
from common.xmpp import NS_XHTML_IM, NS_RECEIPTS, NS_ESESSION, NS_CHATSTATES
|
||||||
|
from common.xmpp import NS_JINGLE_ICE_UDP, NS_JINGLE_RTP_AUDIO
|
||||||
|
from common.xmpp import NS_JINGLE_RTP_VIDEO
|
||||||
# Features where we cannot safely assume that the other side supports them
|
# Features where we cannot safely assume that the other side supports them
|
||||||
FEATURE_BLACKLIST = [NS_CHATSTATES, NS_XHTML_IM, NS_RECEIPTS, NS_ESESSION]
|
FEATURE_BLACKLIST = [NS_CHATSTATES, NS_XHTML_IM, NS_RECEIPTS, NS_ESESSION,
|
||||||
|
NS_JINGLE_ICE_UDP, NS_JINGLE_RTP_AUDIO, NS_JINGLE_RTP_VIDEO]
|
||||||
|
|
||||||
# Query entry status codes
|
# Query entry status codes
|
||||||
NEW = 0
|
NEW = 0
|
||||||
|
|
Loading…
Reference in New Issue