flowdock / oulu

Flowdock IRC Gateway
MIT License
76 stars 16 forks source link

My 1-1 message edits are sent back to me (and incorrectly) #72

Open devkev opened 9 years ago

devkev commented 9 years ago

When I edit one of my messages in a 1-1 with someone, the edit is sent back to me in IRC, apparently from my own nick.

For example, if I'm chatting to someone in the Web interface, and write "test", and then change it to "test2", then at that point I immediately receive a privmsg in my IRC session, apparently from "Kev" (my own nick), with the text of "test2*".

My guess is that this is because lib/events/message_edit_event.rb lacks the check from lib/events/message_event.rb:6 (or similar).