LocalMUCUser - TODO comment

I have a client that is causing the server to execute an empty branch of code with a TODO comment, which results in a silent no-op from the client and server. The line in question is here.

The issue is that my client is sending an element when exiting a chatroom:

Could this an edge-case that hasn’t been accounted for?