Mercurial > libervia-backend
diff frontends/quick_frontend/quick_app.py @ 89:23caf1051099
multi-profile/subscription misc fixes
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 13 May 2010 16:27:48 +0930 |
parents | 66d784082930 |
children | 4020931569b8 |
line wrap: on
line diff
--- a/frontends/quick_frontend/quick_app.py Wed May 12 11:55:18 2010 +0930 +++ b/frontends/quick_frontend/quick_app.py Thu May 13 16:27:48 2010 +0930 @@ -281,9 +281,9 @@ # this is a subscriptionn request, we have to ask for user confirmation answer = self.showDialog(_("The contact %s wants to subscribe to your presence.\nDo you accept ?") % entity.short, _('Subscription confirmation'), 'yes/no') if answer: - self.bridge.subscription("subscribed", entity.short) + self.bridge.subscription("subscribed", entity.short, profile_key = profile) else: - self.bridge.subscribed("unsubscribed", entity.short) + self.bridge.subscription("unsubscribed", entity.short, profile_key = profile) def showDialog(self, message, title, type="info"): raise NotImplementedError