]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-contact-dialogs.c
Hook up abusive argument into TpContactList backend
[empathy.git] / libempathy-gtk / empathy-contact-dialogs.c
index 73a458cb9e83c5e960bdf779c0f429714b17123d..737a449d2eb49220a1f3535c329227749792d78d 100644 (file)
@@ -85,15 +85,17 @@ subscription_dialog_response_cb (GtkDialog *dialog,
                                             contact, "");
        }
        else if (response == GTK_RESPONSE_REJECT) {
+               gboolean abusive;
+
                /* confirm the blocking */
                if (empathy_block_contact_dialog_show (GTK_WINDOW (dialog),
-                                                      contact, NULL)) {
+                                                      contact, &abusive)) {
                        empathy_contact_list_remove (
                                        EMPATHY_CONTACT_LIST (manager),
                                        contact, "");
                        empathy_contact_list_set_blocked (
                                        EMPATHY_CONTACT_LIST (manager),
-                                       contact, TRUE);
+                                       contact, TRUE, abusive);
                } else {
                        /* if they don't confirm, return back to the
                         * first dialog */