Ignored people still show up when they /msg and /me emote#349
Ignored people still show up when they /msg and /me emote#349shazow merged 3 commits intoshazow:masterfrom
/msg and /me emote#349Conversation
|
Hiya, thanks for this! Are you certain this doesn't break anything else? Also we need to fix /ignore with the other kinds of messages, like PrivateMsg. Ideally the fix would apply across the board. :) |
|
Hello, For the second part of our answer, you mean we have the same issue with emote and private msgs? |
/me emote/msg and /me emote
|
@shazow Private msg fixed as well. Please review. Also, please check the PR description. |
|
That's great, thank you! My only concern is the (in)validity of this comment: https://github.com/shazow/ssh-chat/pull/349/files#diff-927aa726acccc0fd011d2817854c3452L141-L143 I'm going to take some time making sure it's not going to break in unexpected ways and then merge it, otherwise it looks good. :) |
|
Yes make sense. ''To allow the sender to see the emote'' is curious. But I roughly tested it, and in particular that part. Works well. Yeah would be nice if you double check. Let me know. |
|
I think my plan was to use the |
|
|
|
Hm, the test is failing for me locally (I think travisci is borked): |
|
I'll check today. Probably something to fix in the tests. |
|
Yea, that whole test could use a simpler rewrite. |
|
I found the broken part of the test on my end. Will merge shortly. The "crying" emote was rendering for the other user whose screen buffer was compared later with a different string, so I added a flush of that before. |
|
Strange that it's not failing for you, wonder if it's running the wrong codebase? What version of Go are you using? |
Before
After