Add a get_prefix method to the PurpleProtocolActions interface

Review Request #1547 — Created July 29, 2022 and submitted

grim
pidgin/pidgin
default
pidgin
This make it much easier for protocol authors to keep track of things, but we
do fall back to using the id of the protocol for the prefix if get_prefix is
not implemented.

Verified the fallback works, then changed the prefix in the demo protocol plugin and verified everything still functioned.

Summary
Add a get_prefix method to the PurpleProtocolActions interface
Description From Last Updated

Space -> Tab

QuLogicQuLogic

Space -> Tab

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

    Space -> Tab

  3. libpurple/purpleprotocolactions.c (Diff revision 1)
     
     

    Space -> Tab

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

Status: Closed (submitted)

Loading...