protocols/demo/purpledemoprotocolactions.h

Thu, 05 Dec 2024 21:31:16 -0600

author
Gary Kramlich <grim@reaperworld.com>
date
Thu, 05 Dec 2024 21:31:16 -0600
changeset 43100
e6df74d36862
parent 42881
f501f1a0ca6e
permissions
-rw-r--r--

Change Purple.Message:author to Purple.ConversationMember

This is necessary to show conversation specific nick names and badges in each
message and potentially more.

Testing Done:
* Sent some messages to Echo on the demo protocol plugin.
* Verified that the ircv3 status conversation was working properly.
* Called in the turtles.

Reviewed at https://reviews.imfreedom.org/r/3692/

/*
 * Purple - Internet Messaging Library
 * Copyright (C) Pidgin Developers <devel@pidgin.im>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, see <https://www.gnu.org/licenses/>.
 */

#ifndef PURPLE_DEMO_PROTOCOL_ACTIONS_H
#define PURPLE_DEMO_PROTOCOL_ACTIONS_H

#include <glib.h>

#include <birb.h>

#include <purple.h>

G_GNUC_INTERNAL BirbActionMenu *purple_demo_protocol_get_action_menu(PurpleProtocol *protocol, PurpleAccount *account);

#endif /* PURPLE_DEMO_PROTOCOL_ACTIONS_H */

mercurial