Mercurial > ~mikael > mcabber > hg
diff mcabber/src/commands.c @ 1363:32077249de77
Warn if a MUC room without bookmark is renamed
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 11 Nov 2007 18:49:43 +0100 |
parents | 9ee58f91d19e |
children | c7e709719c43 |
line wrap: on
line diff
--- a/mcabber/src/commands.c Sun Nov 11 16:07:32 2007 +0100 +++ b/mcabber/src/commands.c Sun Nov 11 18:49:43 2007 +0100 @@ -1750,8 +1750,12 @@ if (!(type & ROSTER_TYPE_GROUP) && !on_srv) { scr_LogPrint(LPRINT_NORMAL, "Note: this item will be added to your server roster."); - // TODO - // If this is a MUC room, we may want to update the bookmark instead... + // If this is a MUC room w/o bookmark, let's give a small hint... + if (!jb_is_bookmarked(bjid)) { + scr_LogPrint(LPRINT_NORMAL, + "You should add a room bookmark or it will not be " + "recognized as a MUC room next time you run mcabber."); + } } newname = g_strdup(arg);