Skip to content
Snippets Groups Projects
Commit d42633cf authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

[tictactoe] Fix replying to request

parent a438b6b8
No related branches found
No related tags found
No related merge requests found
[info] [info]
name: Tic tac toe name: Tic tac toe
short_name: Tic tac toe short_name: Tic tac toe
version: 0.2.2 version: 0.2.3
description: Play tic tac toe description: Play tic tac toe
authors = Yann Leboulanger <asterix@lagaule.org> authors = Yann Leboulanger <asterix@lagaule.org>
homepage = http://trac-plugins.gajim.org/wiki/TictactoePlugin homepage = http://trac-plugins.gajim.org/wiki/TictactoePlugin
......
...@@ -288,7 +288,7 @@ class TicTacToeSession(stanza_session.StanzaSession): ...@@ -288,7 +288,7 @@ class TicTacToeSession(stanza_session.StanzaSession):
game = invite.getTag('game') game = invite.getTag('game')
x = game.getTag('x', namespace='jabber:x:data') x = game.getTag('x', namespace='jabber:x:data')
form = xmpp.DataForm(node=x) form = xmpp.DataForm(node=str(x))
if form.getField('role'): if form.getField('role'):
self.role_o = form.getField('role').getValues()[0] self.role_o = form.getField('role').getValues()[0]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment