Remove unnecessary NULL check

Review Request #1718 — Created Sept. 5, 2022 and submitted

QuLogic
pidgin/pidgin
default
pidgin

The account is allowed to be NULL here, according to the vfunc documentation,
but the interface method incorrectly enforced non-NULL.

This fixes a critical when selecting Gadu-Gadu in the account editor, as it is the only prpl to implement this method.

Selected Gadu-Gadu in a new account, saw no warnings, and the placeholder text was now added to username.

Summary
Remove unnecessary NULL check
QuLogic
grim
  1. Ship It!
  2. Nice work, thanks!

  3. 
      
grim
Review request changed

Status: Closed (submitted)

Loading...