Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Erb <steve-e@h3c.de>2009-11-16 21:31:17 +0300
committerStephan Erb <steve-e@h3c.de>2009-11-16 21:31:17 +0300
commit10428555aa87d512def8274bc06abb1de87f2ce7 (patch)
tree4e97591613dc8a0788438882bacec60c82fb1c58 /src/profile_window.py
parenta3ea00f4ea349b51b172a9f187842e3a3b6d4f4c (diff)
Various pep-related cleanups.
Most important change is that pep send/retract functions no reside on the ConnectionPEP object.
Diffstat (limited to 'src/profile_window.py')
-rw-r--r--src/profile_window.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/profile_window.py b/src/profile_window.py
index a417ede08..f3fe1faa4 100644
--- a/src/profile_window.py
+++ b/src/profile_window.py
@@ -322,8 +322,7 @@ class ProfileWindow:
nick = ''
if 'NICKNAME' in vcard_:
nick = vcard_['NICKNAME']
- from common import pep
- pep.user_send_nickname(self.account, nick)
+ gajim.connections[self.account].send_nickname(self.account, nick)
if nick == '':
nick = gajim.config.get_per('accounts', self.account, 'name')
gajim.nicks[self.account] = nick