do not add a default subscription message.

This commit is contained in:
Yann Leboulanger 2006-08-31 15:35:38 +00:00
parent 0ee02dd62f
commit 23396f8f59
1 changed files with 2 additions and 3 deletions

View File

@ -795,9 +795,8 @@ class Connection(ConnectionHandlers):
df = self.build_user_nick(user_nick)
p.addChild(node = df)
p = self.add_sha(p)
if not msg:
msg = _('I would like to add you to my roster.')
p.setStatus(msg)
if msg:
p.setStatus(msg)
self.connection.send(p)
def send_authorization(self, jid):