Hi,
rikeko reported this error ealier on #pokersource:
#inconsistent html markup in dealer message history
http://jspoker.pokersource.info/ideas.html#[[inconsistent%20html%20markup%20in%20dealer%20message%20history]]
player message markup:
<div class="jpoker_chat_line">
<span class="jpoker_chat_prefix">myself: </span>
<span class="jpoker_chat_message">Message one</span>
</div>
dealer message markup:
<div class="jpoker_chat_line">
<span class="jpoker_chat_prefix"/>
<span class="jpoker_chat_message">Dealer: dealing</span>
</div>
This is due to poker-network embedding "Dealer: " in PacketPokerChat message:
pokerexplain.py:628
if messages:
message = "".join(map(lambda line: "Dealer: "
+ line + "\n", messages))
forward_packets.append(PacketPokerChat(game_id
= game.id,
message
= message))
I patched jpoker, to suppress "Dealer :" from PacketPokerChat message
with serial = 0,
And add it in jpoker_chat_prefix instead.
http://jpoker.aminche.com/hg/jpoker/rev/1508cc26c45f
http://jpoker.aminche.com/hg/jpoker/rev/8999eb9cf061
Feel free to review and pull changes from:
http://jpoker.aminche.com/hg/jpoker/
--
bou ^
_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users