]> git.0d.be Git - empathy.git/commitdiff
Fix call to empathy_chat_window_find_chat in /part command
authorWill Thompson <will.thompson@collabora.co.uk>
Mon, 16 May 2011 12:42:55 +0000 (13:42 +0100)
committerWill Thompson <will.thompson@collabora.co.uk>
Mon, 16 May 2011 12:48:50 +0000 (13:48 +0100)
0fda594 changed empathy_chat_window_find_chat() to take a third
parameter indicating whether we're looking for an SMS channel or not,
but the /part branch wasn't updated for this change before being merged.

I think it's a reasonable assumption that someone will not try to /part
an SMS channel.

Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
src/empathy-chat-window.c

index 93d9df8d7c4bd8d791784f683b3dced74e262892..e9298ddbf56808548bb41ba75c1f64f7749fc725 100644 (file)
@@ -1547,7 +1547,7 @@ chat_window_command_part (EmpathyChat *chat,
                return;
        }
        chat_to_be_parted = empathy_chat_window_find_chat (
-               empathy_chat_get_account (chat), strv[1]);
+               empathy_chat_get_account (chat), strv[1], FALSE);
 
        if (chat_to_be_parted != NULL) {
                /* Found a chatroom matching the specified ID */