[empathy] Fix call to empathy_chat_window_find_chat in /part command
- From: Will Thompson <wjt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] Fix call to empathy_chat_window_find_chat in /part command
- Date: Mon, 16 May 2011 12:49:33 +0000 (UTC)
commit 383bf53000a686e5d411f48603b506bb64dd0e28
Author: Will Thompson <will thompson collabora co uk>
Date: Mon May 16 13:42:55 2011 +0100
Fix call to empathy_chat_window_find_chat in /part command
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 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 93d9df8..e9298dd 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -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 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]