Mercurial > libervia-backend
comparison sat_frontends/jp/cmd_roster.py @ 3970:4c3361e2bf55
cli (file/send): add `--encrypt` argument to request encryption:
rel 378
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 31 Oct 2022 04:09:38 +0100 |
parents | be6d91572633 |
children | 524856bd7b19 |
comparison
equal
deleted
inserted
replaced
3969:8e7d5796fb23 | 3970:4c3361e2bf55 |
---|---|
137 self.parser.add_argument( | 137 self.parser.add_argument( |
138 "jid", help=_("jid of the roster entity")) | 138 "jid", help=_("jid of the roster entity")) |
139 | 139 |
140 async def start(self): | 140 async def start(self): |
141 if not self.args.force: | 141 if not self.args.force: |
142 message = _("Are you sure to delete {entity} fril your roster?").format( | 142 message = _("Are you sure to delete {entity} from your roster?").format( |
143 entity=self.args.jid | 143 entity=self.args.jid |
144 ) | 144 ) |
145 await self.host.confirmOrQuit(message, _("entity deletion cancelled")) | 145 await self.host.confirmOrQuit(message, _("entity deletion cancelled")) |
146 try: | 146 try: |
147 await self.host.bridge.delContact( | 147 await self.host.bridge.delContact( |