diff mcabber/src/main.c @ 1610:6db9f403f707

Replace 'username' with 'jid' in the configuration file The previous behaviour doesn't make much sense anymore. MCabber does DNS SRV lookups so providing the server name is usually not needed.
author Mikael Berthe <mikael@lilotux.net>
date Sun, 11 Oct 2009 20:06:47 +0200
parents 14690e624e9d
children 9296987856d9
line wrap: on
line diff
--- a/mcabber/src/main.c	Sun Oct 11 16:48:15 2009 +0200
+++ b/mcabber/src/main.c	Sun Oct 11 20:06:47 2009 +0200
@@ -340,15 +340,15 @@
 
   /* If no password is stored, we ask for it before entering
      ncurses mode -- unless the username is unknown. */
-  if (settings_opt_get("username") && !settings_opt_get("password")) {
+  if (settings_opt_get("jid") && !settings_opt_get("password")) {
     const char *p;
     char *pwd;
     p = settings_opt_get("server");
     if (p)
       printf("Server: %s\n", p);
-    p = settings_opt_get("username");
+    p = settings_opt_get("jid");
     if (p)
-      printf("Username: %s\n", p);
+      printf("User JID: %s\n", p);
 
     pwd = ask_password("Jabber password");
     settings_set(SETTINGS_TYPE_OPTION, "password", pwd);