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:
souliane 2013-11-17 16:59:12 +01:00
commit 8190f82caf

View file

@ -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=""):