Mercurial > libervia-backend
comparison src/plugins/plugin_xep_0048.py @ 1373:6d0e01809893
plugin text commands: minor docstrings improvments
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 19 Mar 2015 14:41:15 +0100 |
parents | 876c9fbd0b3d |
children | 069ad98b360d |
comparison
equal
deleted
inserted
replaced
1372:85caf0a3abb3 | 1373:6d0e01809893 |
---|---|
420 def cmd_bookmark(self, mess_data, profile): | 420 def cmd_bookmark(self, mess_data, profile): |
421 """(Un)bookmark a MUC room | 421 """(Un)bookmark a MUC room |
422 | 422 |
423 @command (group): [autojoin | remove] | 423 @command (group): [autojoin | remove] |
424 - autojoin: join room automatically on connection | 424 - autojoin: join room automatically on connection |
425 - remove: remove bookmark(s) for this room | |
425 """ | 426 """ |
426 client = self.host.getClient(profile) | 427 client = self.host.getClient(profile) |
427 txt_cmd = self.host.plugins[C.TEXT_CMDS] | 428 txt_cmd = self.host.plugins[C.TEXT_CMDS] |
428 | 429 |
429 options = mess_data["unparsed"].strip().split() | 430 options = mess_data["unparsed"].strip().split() |