Fix connection errors getting deleted when an account is disconnected

Review Request #1944 — Created Oct. 23, 2022 and submitted

Information

pidgin/pidgin
default

Reviewers

Fix connection errors getting deleted when an account is disconnected
  • Ran the unit tests with the new test
  • Caused a resource conflict on XMPP to verify that notification was displayed
  • Attempted to connect an IRC account that had a bad hostname and verified that notification was displayed.
  • Not integration testing was done for Finch.
Summary ID
Fix connection errors getting deleted when an account is disconnected
cd2f5442b93e82c1ddf1bb59127b46b7f5cd6cfb
Description From Last Updated

notifications

QuLogicQuLogic

These are treated differently from the other notifications tied to accounts, as those are transient and ...

QuLogicQuLogic

I think you can't just continue, as if you have something like: notification 1 (account1, not connection error) notification 2 …

QuLogicQuLogic

notifications

QuLogicQuLogic

fourth

QuLogicQuLogic

position zero.

QuLogicQuLogic

s/call empty/empty/ s/it's/its/

QuLogicQuLogic

4, or maybe leave out the number.

QuLogicQuLogic
QuLogic
  1. 
      
  2. libpurple/purplenotificationmanager.h (Diff revision 1)
     
     

    notifications

  3. libpurple/purplenotificationmanager.h (Diff revision 1)
     
     
     

    These are treated differently from the other notifications tied to accounts, as those are transient and ...

  4. libpurple/purplenotificationmanager.c (Diff revision 1)
     
     

    I think you can't just continue, as if you have something like:

    • notification 1 (account1, not connection error)
    • notification 2 (account2, connection error)
    • notification 3 (account1, not connection error)

    and you are deleting account1, then the continue will not trigger a have_same change for notification 2, and it will believe it should remove all notifications.

  5. notifications

  6. 
      
grim
QuLogic
  1. 
      
  2. position zero.

  3. s/call empty/empty/
    s/it's/its/

  4. 4, or maybe leave out the number.

  5. 
      
grim
QuLogic
  1. Ship It!
  2. 
      
grim
Review request changed

Status: Closed (submitted)

Loading...