Mercurial > pidgin.yaz
changeset 21307:5cca0d7d9081
Fix for the crash reported by WormFood in #pidgin when right clicking on
the info pane for a conversation when the account is disconnected.
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 10 Nov 2007 22:28:55 +0000 |
parents | fb2310c914a2 |
children | 2105177f2de4 |
files | pidgin/gtkconv.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkconv.c Sat Nov 10 16:39:18 2007 +0000 +++ b/pidgin/gtkconv.c Sat Nov 10 22:28:55 2007 +0000 @@ -3074,6 +3074,9 @@ chat, (GDestroyNotify)purple_blist_remove_chat); } } else { + if (!purple_account_is_connected(conv->account)) + return FALSE; + buddy = purple_find_buddy(conv->account, conv->name); /* gotta remain bug-compatible :( libpurple < 2.0.2 didn't handle