Commit 0c91f1a9 authored by Dicson's avatar Dicson
Browse files

Whiteboard.Fix for gajim version > 0.15

parent a2c77890
[info]
name: Whiteboard
short_name: whiteboard
version: 0.2.3
version: 0.2.4
description: Shows a whiteboard in chat. python-pygoocanvas is required.
authors = Yann Leboulanger <asterix@lagaule.org>
homepage = http://trac-plugins.gajim.org/wiki/WhiteboardPlugin
max_gajim_version: 0.16.9
max_gajim_version: 0.16
......@@ -476,10 +476,7 @@ common.jingle_content.contents[NS_JINGLE_XHTML] = get_content
class JingleTransportSXE(JingleTransport):
def __init__(self, node=None):
if gajim.config.get('version') == '0.15':
JingleTransport.__init__(self, TransportType.streaming)
else:
JingleTransport.__init__(self, TransportType.SOCKS5)
JingleTransport.__init__(self, TransportType.streaming)
def make_transport(self, candidates=None):
transport = JingleTransport.make_transport(self, candidates)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment