From 783438307e58b7eed5524e2778f0089691433f11 Mon Sep 17 00:00:00 2001
From: Nico Alt <nicoalt@posteo.org>
Date: Fri, 27 Mar 2020 12:00:14 +0000
Subject: [PATCH] Rename _their_link_is_ours function

---
 briar-gtk/briar_gtk/containers/add_contact.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/briar-gtk/briar_gtk/containers/add_contact.py b/briar-gtk/briar_gtk/containers/add_contact.py
index 012e917..1134a60 100644
--- a/briar-gtk/briar_gtk/containers/add_contact.py
+++ b/briar-gtk/briar_gtk/containers/add_contact.py
@@ -65,7 +65,7 @@ class AddContactContainer(Container):
             link_error_label.set_label(_("Please enter a link"))
             link_error_label.show()
             return
-        if self._their_link_is_ours():
+        if self._links_match():
             link_error_label.show()
             link_error_label.set_label(
                 _("Enter your contact's link, not your own"))
@@ -73,7 +73,7 @@ class AddContactContainer(Container):
         link_error_label.hide()
         self._show_alias_page()
 
-    def _their_link_is_ours(self):
+    def _links_match(self):
         their_link = self.builder.get_object("their_link_entry").get_text()
         own_link = self.builder.get_object("own_link_entry").get_text()
         return their_link == own_link
-- 
GitLab