plugins (MUC, tools, games): generalize the generation of a unique room name when joining a MUC and no room is specified:
- method to get the MUC service moved to plugin_xep_0045 - joinMUC returns the muc name (given by user or generated) - getUniqueName can receive a specified service in argument
This commit is contained in:
parent
3be7c13314
commit
8190f82caf
1 changed files with 67 additions and 32 deletions
|
|
@ -18,6 +18,10 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
# Default value for the "New discussion room" user input
|
||||
DEFAULT_MUC = 'sat@chat.jabberfr.org'
|
||||
|
||||
|
||||
class InputHistory(object):
|
||||
|
||||
def _updateInputHistory(self, text=None, step=None, callback=None, mode=""):
|
||||
|
|
|
|||
Loading…
Reference in a new issue