Closed EllieTheYeen closed 1 year ago
Thank you! Good catch.
Is it ready? Did you test it to be sure it works properly now with empty charset?
I have tested what I could and it seems to work great at the moment in the applications where I use it and I have not found any problems yet
Thank you!
Could you please add yourself to CONTRIBUTORS.md ?
Is it really important since I would rather not put my real name and email address in places?
Of course not! You can put any kind of nickname without an email if you want to or not put anything at all. It's totally up to you.
This will fix the issue where charset if set to None would cause SubscriberProtocol .messageReceived to never be called
If the charset = None in SubscriberProtocol then SubscriberProtocol .replyReceived will never call SubscriberProtocol.messageReceived due to u"message" when received will not match b"message" and u"pmessage" will not match b"pmessage" inside the if clauses therefore the code where messageReceived is called will never be reached. This is due to types of str and bytes will not match each other even if similar values are inside