diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-03-13 01:06:10 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-03-15 17:18:01 +0800 |
commit | f75ecac41ace8d80c9253e3f16fc5e068885a1f0 (patch) | |
tree | 241c759e73bcbdf7eb40bd65e0a915a16c266111 /src/empathy-chat-window.c | |
parent | e1e6e92bae0eac67637b06eca8860a88d29bd8b7 (diff) | |
download | gsoc2013-empathy-f75ecac41ace8d80c9253e3f16fc5e068885a1f0.tar gsoc2013-empathy-f75ecac41ace8d80c9253e3f16fc5e068885a1f0.tar.gz gsoc2013-empathy-f75ecac41ace8d80c9253e3f16fc5e068885a1f0.tar.bz2 gsoc2013-empathy-f75ecac41ace8d80c9253e3f16fc5e068885a1f0.tar.lz gsoc2013-empathy-f75ecac41ace8d80c9253e3f16fc5e068885a1f0.tar.xz gsoc2013-empathy-f75ecac41ace8d80c9253e3f16fc5e068885a1f0.tar.zst gsoc2013-empathy-f75ecac41ace8d80c9253e3f16fc5e068885a1f0.zip |
invite-participant-dialog: filter contacts by account
We can't invite contacts from other accounts so we shouldn't display them
(#612718).
Diffstat (limited to 'src/empathy-chat-window.c')
-rw-r--r-- | src/empathy-chat-window.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c index 2e2f5c003..158faa0b1 100644 --- a/src/empathy-chat-window.c +++ b/src/empathy-chat-window.c @@ -875,6 +875,7 @@ chat_window_invite_participant_activate_cb (GtkAction *action, EmpathyTpChat *tp_chat; TpChannel *channel; int response; + TpAccount *account; priv = GET_PRIV (window); @@ -882,9 +883,10 @@ chat_window_invite_participant_activate_cb (GtkAction *action, tp_chat = empathy_chat_get_tp_chat (priv->current_chat); channel = empathy_tp_chat_get_channel (tp_chat); + account = empathy_chat_get_account (priv->current_chat); dialog = empathy_invite_participant_dialog_new ( - GTK_WINDOW (priv->dialog)); + GTK_WINDOW (priv->dialog), account); gtk_widget_show (dialog); response = gtk_dialog_run (GTK_DIALOG (dialog)); |