diff src/tools/frontends/misc.py @ 712:f610864eb7a5

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
author souliane <souliane@mailoo.org>
date Sun, 17 Nov 2013 16:59:12 +0100
parents 903c4749de15
children
line wrap: on
line diff
--- a/src/tools/frontends/misc.py	Sun Nov 17 16:30:46 2013 +0100
+++ b/src/tools/frontends/misc.py	Sun Nov 17 16:59:12 2013 +0100
@@ -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=""):