Mercurial > pidgin
annotate src/protocols/zephyr/ZCmpUIDP.c @ 13131:47ecef83e2e1
[gaim-migrate @ 15493]
A lot of our conversation code assumes that conv->account != NULL.
This is a completely invalid assumption. If you have a conversation
open on an account, and you delete the account, Gaim should leave the
conversation window open and set the account to NULL and handle
everything appropriately. Currently it does not, and that makes me
a little unhappy.
To reproduce this:
1. Open a conversation with someone
2. Delete the account that you're sending messages from
3. Watch the assertion failures scroll by in the debug window
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Mon, 06 Feb 2006 05:43:09 +0000 |
| parents | 64895571248f |
| children |
| rev | line source |
|---|---|
| 2086 | 1 /* This file is part of the Project Athena Zephyr Notification System. |
| 2 * It contains source for the ZCompareUIDPred function. | |
| 3 * | |
| 4 * Created by: Robert French | |
| 5 * | |
| 6 * Copyright (c) 1987 by the Massachusetts Institute of Technology. | |
| 7 * For copying and distribution information, see the file | |
| 8 * "mit-copyright.h". | |
| 9 */ | |
| 10 | |
|
8792
43d6c08d7e96
[gaim-migrate @ 9554]
Christian Hammond <chipx86@chipx86.com>
parents:
2086
diff
changeset
|
11 #include "internal.h" |
| 2086 | 12 |
| 13 int ZCompareUIDPred(notice, uid) | |
| 14 ZNotice_t *notice; | |
| 15 void *uid; | |
| 16 { | |
| 17 return (ZCompareUID(¬ice->z_uid, (ZUnique_Id_t *) uid)); | |
| 18 } | |
| 19 | |
| 20 int ZCompareMultiUIDPred(notice, uid) | |
| 21 ZNotice_t *notice; | |
| 22 void *uid; | |
| 23 { | |
| 24 return (ZCompareUID(¬ice->z_multiuid, (ZUnique_Id_t *) uid)); | |
| 25 } |
