Commit b1cbd612 authored by Yann Leboulanger's avatar Yann Leboulanger

make whiteboard plugin work with gajim > 0.15. Fixes #22

parent 6fa92ab8
name: Whiteboard
short_name: whiteboard
version: 0.1
version: 0.2
description: Shows a whiteboard in chat. python-pygoocanvas is required.
authors = Yann Leboulanger <>
homepage =
......@@ -471,8 +471,11 @@ def get_content(desc):
common.jingle_content.contents[NS_JINGLE_XHTML] = get_content
class JingleTransportSXE(JingleTransport):
def __init__(self):
JingleTransport.__init__(self, TransportType.streaming)
def __init__(self, node=None):
if gajim.config.get('version') == '0.15':
JingleTransport.__init__(self, TransportType.streaming)
JingleTransport.__init__(self, TransportType.SOCKS5)
def make_transport(self, candidates=None):
transport = JingleTransport.make_transport(self, candidates)
Markdown is supported
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