aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2011-05-16 20:42:55 +0800
committerWill Thompson <will.thompson@collabora.co.uk>2011-05-16 20:48:50 +0800
commit383bf53000a686e5d411f48603b506bb64dd0e28 (patch)
tree2b5dd0b0836c11880b785976e0db151b09e099f8 /src
parente22e3fd06caa9486b9641636c2bbe13cf954cab5 (diff)
downloadgsoc2013-empathy-383bf53000a686e5d411f48603b506bb64dd0e28.tar
gsoc2013-empathy-383bf53000a686e5d411f48603b506bb64dd0e28.tar.gz
gsoc2013-empathy-383bf53000a686e5d411f48603b506bb64dd0e28.tar.bz2
gsoc2013-empathy-383bf53000a686e5d411f48603b506bb64dd0e28.tar.lz
gsoc2013-empathy-383bf53000a686e5d411f48603b506bb64dd0e28.tar.xz
gsoc2013-empathy-383bf53000a686e5d411f48603b506bb64dd0e28.tar.zst
gsoc2013-empathy-383bf53000a686e5d411f48603b506bb64dd0e28.zip
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>
Diffstat (limited to 'src')
-rw-r--r--src/empathy-chat-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 93d9df8d7..e9298ddbf 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 */