weechat-otr icon indicating copy to clipboard operation
weechat-otr copied to clipboard

OTR conversations get refreshed when doing a CTCP ping to someone using weechat-OTR and with whom you have a session

Open koolfy opened this issue 11 years ago • 4 comments

The title is pretty self-explanatory.

I think the other side doesn't understand the query and asks for a conversation refresh (because it never answers)

This is probably just about making sure once and for all ctcp queries don't interfere with ongoing OTR sessions.

koolfy avatar Aug 12 '13 22:08 koolfy

Can't reproduce. With latest master (v1.4.0-12-g01adb83) i just get

Unencrypted message received:  ping

which I think is correct unless we decide to handle \x01ping\x01 in a special way.

tribut avatar May 10 '14 08:05 tribut

@koolfy Is this still something you think we should handle?

mmb avatar Jan 11 '15 10:01 mmb

Reproduced with testing https://github.com/mmb/weechat-otr/issues/111

2015-02-11 09:24:49+0200 < nils_2> Unencrypted message received: PING 1423639489 287454
2015-02-11 09:24:56+0200 :! otr !: Private conversation has been refreshed.

WeeChat 1.2-dev and latest otr.py from /script.

Mikaela avatar Feb 11 '15 07:02 Mikaela

I can't reproduce the "unencrypted message received" unless the ping is the first message of the conversation and require_encryption is turned on. If there is an established OTR session ctcp goes through the encrypted channel and appears to work.

Do you know if the CTCP messages causing the problem are using NOTICE or anything other than PRIVMSG?

mmb avatar Feb 12 '15 05:02 mmb