comparison 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
comparison
equal deleted inserted replaced
1362:9ee58f91d19e 1363:32077249de77
1748 } 1748 }
1749 1749
1750 if (!(type & ROSTER_TYPE_GROUP) && !on_srv) { 1750 if (!(type & ROSTER_TYPE_GROUP) && !on_srv) {
1751 scr_LogPrint(LPRINT_NORMAL, 1751 scr_LogPrint(LPRINT_NORMAL,
1752 "Note: this item will be added to your server roster."); 1752 "Note: this item will be added to your server roster.");
1753 // TODO 1753 // If this is a MUC room w/o bookmark, let's give a small hint...
1754 // If this is a MUC room, we may want to update the bookmark instead... 1754 if (!jb_is_bookmarked(bjid)) {
1755 scr_LogPrint(LPRINT_NORMAL,
1756 "You should add a room bookmark or it will not be "
1757 "recognized as a MUC room next time you run mcabber.");
1758 }
1755 } 1759 }
1756 1760
1757 newname = g_strdup(arg); 1761 newname = g_strdup(arg);
1758 // Remove trailing space 1762 // Remove trailing space
1759 for (p = newname; *p; p++) ; 1763 for (p = newname; *p; p++) ;