in7egral / mirotr

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

offline messages lost when otr session is started #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. start otr session with user
2. go offline with that user
3. send message to offline user
4. no message received after going back online

What is the expected output? What do you see instead?
receive message which waits on server and which normally arrives when otr 
session is not started. instead of this, message is lost and deleted from 
server.

What version of the product are you using? On what operating system?
mirotr 0.11.0.2 x86
miranda 0.9.23

Please provide any additional information below.
when otr is stopped with that user, everything works as expected.

Original issue reported on code.google.com by houmles on 4 Jul 2011 at 9:27

GoogleCodeExporter commented 9 years ago
What client is the other user using? MirOTR, too? Might just be a display 
problem...

Original comment by Nicolas....@gmail.com on 4 Jul 2011 at 10:06

GoogleCodeExporter commented 9 years ago
Problem is on the Miranda+MirOTR side, not on the side from where message was 
sent. When user with Miranda+MirOTR stops OTR session and I try to send him 
message to offline again, then everything is displayed ok. Problem is only when 
OTR session is active between us, then message is not displayed. BTW I am using 
bitlbee as my client.

Original comment by houmles on 6 Jul 2011 at 11:54

GoogleCodeExporter commented 9 years ago
When I run XML console prior to set status back to online I can see that 
message was found on server and downloaded from server ok, but just don't show 
in message window or history.

<message to="[mirada+otr_user]@gmail.com" from="houmles@gmail.com">
<body>?OTR:AAIDAAAAAAQAAAAFAAAAwKPIircKG3QRMiAR4OAIXLlm2wYHZhv4qEurRFT2HRY4XHwlz
BgpvNozCWaxNu89eBvoLFi4rJiKHkv9q1ClZtoUWTbKnkKjsOHdb1cXtUiSyZFowOUnpqQyH2TFmXw97
opur5AvvGWAhSR0nAs/alR0/OkIwMXjNAkbcTySvt513zJ2Krl05IvuDBEoIuae/7W7gEaOtCT+g2oHq
lkfbcVk+V6qi3Oj+9K1HImb03EzZAWuFpsXOdEV4AWSIKa4SQAAAAAAAAACAAAABYNIjxwa6okTFp7ix
JS7gGIzhp55j6CXELQAAAAA.</body>
<x stamp="20110706T12:30:34" xmlns="jabber:x:delay" />
<time ms="1309955434090" xmlns="google:timestamp" />
</message>

Original comment by houmles on 6 Jul 2011 at 12:34

GoogleCodeExporter commented 9 years ago
The other (sending) side just has to terminate the session, too! 
It is not possible to do offline messaging with OTR. It could also be that the 
online status is just invisible.
As soon as one side goes offline the session the session will be terminated by 
that client and a new session has to be re-established.
I would not consider this as a bug.

Original comment by Nicolas....@gmail.com on 6 Jul 2011 at 6:51

GoogleCodeExporter commented 9 years ago
OK, that sounds logically but when I test this by sending message from 
Miranda+MirOTR to my offline account where I use bitlbee as client, whenever I 
go online I received that message without problem and crypted.
Same behaviour is between bitlbee and pidgin both way and bitlbee and trillian 
both way too.
I don't know if it's bug or this is something "more" which other clients have 
as enhancement.

Original comment by houmles on 6 Jul 2011 at 7:33