fix adding a new contact. Fixes #5602
This commit is contained in:
parent
336102c6f2
commit
708d94a310
|
@ -1353,3 +1353,4 @@ def get_subscription_request_msg(account=None):
|
|||
elif nick:
|
||||
name = nick
|
||||
s = Template(s).safe_substitute({'name': name})
|
||||
return s
|
||||
|
|
|
@ -992,7 +992,7 @@ _('Please fill in the data of the contact you want to add in account %s') % acco
|
|||
if self.account:
|
||||
message_buffer = self.message_textview.get_buffer()
|
||||
message_buffer.set_text(helpers.get_subscription_request_msg(
|
||||
self.account))
|
||||
self.account))
|
||||
|
||||
def on_add_new_contact_window_destroy(self, widget):
|
||||
if self.account:
|
||||
|
|
Loading…
Reference in New Issue