Add connection registration to the IRCv3 protocol plugin

Review Request #1898 — Created Oct. 6, 2022 and submitted

Information

pidgin/pidgin
default

Reviewers

Right now this does the bare minimum to make the user show up on the IRC
network.

Connected to a local ergo instance on 6667 with no TLS and verified that ergo accepted the registration.

Summary ID
Add connection registration to the IRCv3 protocol plugin
Right now this does the bare minimum to make the user show up on the IRC network.
864d767c930b47d680c384f0dbcf1b2030000627
Description From Last Updated

This doesn't seem to match the IRCv3 format docs: https://modern.ircdocs.horse/#user-message

QuLogicQuLogic

I'm not sure if it's necessary here, but you may want to check that the error is not G_IO_ERROR_CANCELLED.

QuLogicQuLogic
QuLogic
  1. 
      
  2. Show all issues

    This doesn't seem to match the IRCv3 format docs: https://modern.ircdocs.horse/#user-message

  3. Show all issues

    I'm not sure if it's necessary here, but you may want to check that the error is not G_IO_ERROR_CANCELLED.

    1. What I meant is just ignoring cancelled entirely. If you got that, then the connection is being shut down, in which case a cancel is expected and not an error.

    2. Though now I see that purple_connection_g_error (and thus purple_connection_take_error) ignores G_IO_ERROR_CANCELLED, so we don't even need to special case it here like I originally asked.

    3. I just noticed that in the connection docs while tweaking, so I'll just remove the conditional here.

  4. 
      
grim
grim
QuLogic
  1. Ship It!
  2. 
      
grim
Review request changed
Status:
Completed