diff mcabber/src/commands.c @ 1023:94d9a3cbb211

Remove useless message Doing /info was noisy with a server without private storage support.
author Mikael Berthe <mikael@lilotux.net>
date Sat, 18 Nov 2006 15:48:49 +0100
parents 4c8d7b558e83
children f7ef8003fc35
line wrap: on
line diff
--- a/mcabber/src/commands.c	Sat Nov 18 10:44:58 2006 +0100
+++ b/mcabber/src/commands.c	Sat Nov 18 15:48:49 2006 +0100
@@ -563,7 +563,7 @@
     jb_set_storage_rosternotes(jid, notetxt);
     g_free(msg);
   } else {      // Display a note
-    struct annotation *note = jb_get_storage_rosternotes(jid);
+    struct annotation *note = jb_get_storage_rosternotes(jid, FALSE);
     if (note) {
       display_and_free_note(note, jid);
     } else {
@@ -1331,7 +1331,7 @@
   if (type == ROSTER_TYPE_USER ||
       type == ROSTER_TYPE_ROOM ||
       type == ROSTER_TYPE_AGENT) {
-    struct annotation *note = jb_get_storage_rosternotes(jid);
+    struct annotation *note = jb_get_storage_rosternotes(jid, TRUE);
     if (note) {
       // We do not display the note, we just tell the user.
       g_free(note->text);