zD12 / galaxium

Automatically exported from code.google.com/p/galaxium
0 stars 0 forks source link

double reply #209

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
when I send message to a bot I get double reply in message window.

in logs there's only single reply from bot:

2008/06/28 23:37:05 [INFO] [XMPPConnection.OutgoingXml] 
<message type="chat" to="infobot@infobot.pl/Bot">
<body>?</body>
<active xmlns="http://jabber.org/protocol/chatstates" />
</message>

2008/06/28 23:37:05 [INFO] [XMPPConnection.IncomingXml] 
<message xmlns="jabber:client" from="infobot@infobot.pl/Bot" type="chat"
id="msg_1452" to="jakub.rusinek@jabster.pl/Galaxium">  <body>Napisz pomoc
aby uzyskać listę dostępnych funkcji.</body>
</message>

Original issue reported on code.google.com by jakub.ru...@gmail.com on 28 Jun 2008 at 9:37

GoogleCodeExporter commented 9 years ago
yes this is a known issue in jabber right now. I'll fix it soon.

Original comment by dra...@gmail.com on 30 Jun 2008 at 1:29

GoogleCodeExporter commented 9 years ago
but hey, that's strange. I talked with friend and I got only single replies, 
while
chatting with bot I got double.

strange issue.

Original comment by jakub.ru...@gmail.com on 30 Jun 2008 at 1:33

GoogleCodeExporter commented 9 years ago
Its not strange :P Its just because one was probably initiated by you, the 
other by them.

When its being initiated by yourself, for some reason it hooks up the event 
TWICE
instead of ONCE. Its a simple fix, i just gotta organize things a bit.

Original comment by dra...@gmail.com on 30 Jun 2008 at 3:50

GoogleCodeExporter commented 9 years ago
right... I didn't noticed it :> .

Original comment by jakub.ru...@gmail.com on 30 Jun 2008 at 4:07

GoogleCodeExporter commented 9 years ago
I think I fixed this a while ago... sorry

Original comment by dra...@gmail.com on 9 Jul 2008 at 5:24