protocols/ircv3/ircv3generategir.c

Fri, 07 Jun 2024 17:45:00 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Fri, 07 Jun 2024 17:45:00 -0500
changeset 42780
c1af98cbd43a
parent 42652
225762d4e206
permissions
-rw-r--r--

IRCv3: Implement join and part message handlers

This only handle the RFC versions, we'll do extended-join later.

The TODO's are not meant to be done in this RR because they require additional code in IRCv3Connection, and once that's done we'll grab these then.

Testing Done:
Connected to my local ergo and had another client join and part a few times while I verified that the member list was updated correctly.

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

/*
 * Purple - Internet Messaging Library
 * Copyright (C) Pidgin Developers <devel@pidgin.im>
 *
 * Purple is the legal property of its developers, whose names are too numerous
 * to list here.  Please refer to the COPYRIGHT file distributed with this
 * source distribution.
 *
 * This library is free software; you can redistribute it and/or modify
 * it under the terms of the GNU 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 General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this library; if not, see <https://www.gnu.org/licenses/>.
 */

#include <glib.h>

#include <gplugin-introspection.h>

int
main(int argc, char *argv[]) {
    return gplugin_introspection_introspect_plugin(&argc, &argv,
                                                   PLUGIN_FILENAME);
}

mercurial