Skip to content
Snippets Groups Projects
Commit 23396f8f authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

do not add a default subscription message.

parent 0ee02dd6
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment