Mercurial > hg
changeset 1631:546868650bbf
Avoid misleading comment when renaming a contact
The previous check assumed that an entry which wasn't in the server roster
was a room -- which is obviously wrong.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Thu, 22 Oct 2009 20:08:11 +0200 |
parents | 141ae278e769 |
children | d29376ef424d |
files | mcabber/src/commands.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mcabber/src/commands.c Thu Oct 22 20:00:24 2009 +0200 +++ b/mcabber/src/commands.c Thu Oct 22 20:08:11 2009 +0200 @@ -2011,7 +2011,7 @@ scr_LogPrint(LPRINT_NORMAL, "Note: this item will be added to your server roster."); // If this is a MUC room w/o bookmark, let's give a small hint... - if (!xmpp_is_bookmarked(bjid)) { + if ((type & ROSTER_TYPE_ROOM) && !xmpp_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.");