[jingle] fix TB when receiving an error stanza

This commit is contained in:
Thibaut Girka 2010-08-17 18:17:36 +02:00
parent cbd384ed31
commit e0ffa2d293
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ class JingleSession(object):
break break
elif child.getNamespace() == xmpp.NS_STANZAS: elif child.getNamespace() == xmpp.NS_STANZAS:
error_name = child.getName() error_name = child.getName()
self.__dispatch_error(error_name, text, error.getAttribute('type')) self.__dispatch_error(error_name, text, error.getAttr('type'))
# FIXME: Not sure when we would want to do that... # FIXME: Not sure when we would want to do that...
def __on_transport_replace(self, stanza, jingle, error, action): def __on_transport_replace(self, stanza, jingle, error, action):