Add a get_prefix method to the PurpleProtocolActions interface

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

Information

pidgin/pidgin
default

Reviewers

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 ID
Add a get_prefix method to the PurpleProtocolActions interface
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.
592860bff64683e70d622e80a642821a3d1469be
Description From Last Updated

Space -> Tab

QuLogicQuLogic

Space -> Tab

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

    Space -> Tab

  3. libpurple/purpleprotocolactions.c (Diff revision 1)
     
     
    Show all issues

    Space -> Tab

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