comparison libpurple/protocols/jabber/jabber.c @ 29299:7925bb7f2aa7

propagate from branch 'im.pidgin.pidgin' (head 92e101e3698042e7600729bc09dec9e28f81de8f) to branch 'im.pidgin.cpw.attention_ui' (head 563c35d20efcc234a74567ebb88c059d10ce1e09)
author Marcus Lundblad <ml@update.uu.se>
date Mon, 24 Aug 2009 19:23:56 +0000
parents fb99a0067812 c585572e80dd
children fba8dd643796
comparison
equal deleted inserted replaced
29298:fb99a0067812 29299:7925bb7f2aa7
1 /* 1 /*
2 * purple - Jabber Protocol Plugin 2 * purple - Jabber Protocol Plugin
3 * 3 *
4 * Copyright (C) 2003, Nathan Walp <faceprint@faceprint.com> 4 * Purple is the legal property of its developers, whose names are too numerous
5 * to list here. Please refer to the COPYRIGHT file distributed with this
6 * source distribution.
5 * 7 *
6 * This program is free software; you can redistribute it and/or modify 8 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by 9 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or 10 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version. 11 * (at your option) any later version.
3297 3299
3298 id = purple_cmd_register("role", "ws", PURPLE_CMD_P_PRPL, 3300 id = purple_cmd_register("role", "ws", PURPLE_CMD_P_PRPL,
3299 PURPLE_CMD_FLAG_CHAT | PURPLE_CMD_FLAG_PRPL_ONLY | 3301 PURPLE_CMD_FLAG_CHAT | PURPLE_CMD_FLAG_PRPL_ONLY |
3300 PURPLE_CMD_FLAG_ALLOW_WRONG_ARGS, "prpl-jabber", 3302 PURPLE_CMD_FLAG_ALLOW_WRONG_ARGS, "prpl-jabber",
3301 jabber_cmd_chat_role, 3303 jabber_cmd_chat_role,
3302 _("role &lt;moderator|participant|visitor|none&gt; [nick1] [nick2] ...: Get the users with an role or set users' role with the room."), 3304 _("role &lt;moderator|participant|visitor|none&gt; [nick1] [nick2] ...: Get the users with a role or set users' role with the room."),
3303 NULL); 3305 NULL);
3304 jabber_cmds = g_slist_prepend(jabber_cmds, GUINT_TO_POINTER(id)); 3306 jabber_cmds = g_slist_prepend(jabber_cmds, GUINT_TO_POINTER(id));
3305 3307
3306 id = purple_cmd_register("invite", "ws", PURPLE_CMD_P_PRPL, 3308 id = purple_cmd_register("invite", "ws", PURPLE_CMD_P_PRPL,
3307 PURPLE_CMD_FLAG_CHAT | PURPLE_CMD_FLAG_PRPL_ONLY | 3309 PURPLE_CMD_FLAG_CHAT | PURPLE_CMD_FLAG_PRPL_ONLY |