cryptodotis / irssi-otr

LibOTR functionality in Irssi.
GNU General Public License v2.0
183 stars 24 forks source link

Fix error on self-messages with irssi versions after 0.8.17 #58

Closed mquin closed 3 years ago

mquin commented 8 years ago

This commit fixes errors produced when the user atempts to send a mesasge to themselves, caused by the he addition of a target parameter to the 'message private' signal in https://github.com/irssi/irssi/commit/1edfcedda1105d79fa6b92d77a8fb60f296abe1e

ailin-nemui commented 8 years ago

(comment from irc) in order to support remote self messages properly, it may be necessary to store char *target in the otr_peer_context in function otr_receive, by forwarding it to there from the sig_message_private handler in module.c

mquin commented 3 years ago

Closing this as superceded by native support for OTR in irssi after https://github.com/irssi/irssi/commit/016b42baea9d7dcd2a284f873246c06259c560dd