Mercurial > pidgin.yaz
annotate finch/gntstatus.h @ 18712:c65c4caa817a
When we get a presence of type="error" from the server that
corresponds to a Jabber chat, only destroy/free/close/leave
the chat room if the error happened while joining (and we
were therefore never in the room).
This fixes the following bug:
1. Join a room
2. Try to change your nickname to something that's being
used by someone else
3. The server gives you an error message, but you're not
actually kicked out of the room
4. Pidgin thinks you've been kicked out and won't let you
send messages to the room, etc.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 29 Jul 2007 07:01:13 +0000 |
parents | 0f0832c13fcb |
children | 44b4e8bd759b |
rev | line source |
---|---|
15818 | 1 /** |
2 * @file gntstatus.h GNT Status API | |
16194
0f0832c13fcb
Rename the Doxygen group from gntui to finch and define the finch group
Richard Laager <rlaager@wiktel.com>
parents:
15871
diff
changeset
|
3 * @ingroup finch |
15818 | 4 * |
15871
66dff3dfdea6
Re-sed the copyright notices so they don't all talk about Purple.
Richard Laager <rlaager@wiktel.com>
parents:
15823
diff
changeset
|
5 * finch |
15818 | 6 * |
15871
66dff3dfdea6
Re-sed the copyright notices so they don't all talk about Purple.
Richard Laager <rlaager@wiktel.com>
parents:
15823
diff
changeset
|
7 * Finch is the legal property of its developers, whose names are too numerous |
15818 | 8 * to list here. Please refer to the COPYRIGHT file distributed with this |
9 * source distribution. | |
10 * | |
11 * This program is free software; you can redistribute it and/or modify | |
12 * it under the terms of the GNU General Public License as published by | |
13 * the Free Software Foundation; either version 2 of the License, or | |
14 * (at your option) any later version. | |
15 * | |
16 * This program is distributed in the hope that it will be useful, | |
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 * GNU General Public License for more details. | |
20 * | |
21 * You should have received a copy of the GNU General Public License | |
22 * along with this program; if not, write to the Free Software | |
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
24 */ | |
25 #ifndef _GNT_STATUS_H | |
26 #define _GNT_STATUS_H | |
27 | |
28 #include <status.h> | |
29 #include <savedstatuses.h> | |
30 | |
31 /********************************************************************** | |
32 * @name GNT BuddyList API | |
33 **********************************************************************/ | |
34 /*@{*/ | |
35 | |
36 /** | |
37 * Show a dialog with all the saved statuses. | |
38 */ | |
39 void finch_savedstatus_show_all(void); | |
40 | |
41 /** | |
42 * Show a dialog to edit a status. | |
43 * | |
44 * @param saved The saved status to edit. Set it to @c NULL to create a new status. | |
45 */ | |
15823 | 46 void finch_savedstatus_edit(PurpleSavedStatus *saved); |
15818 | 47 |
48 /*@}*/ | |
49 | |
50 #endif |