Mercurial > ~mikael > mcabber > hg
comparison mcabber/mcabber/screen.c @ 1694:bd60a275dbc2
Remove obsolete/bogus comment
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 06 Feb 2010 19:28:37 +0100 |
parents | b2e0083891cc |
children | 87dd0a8f1a9c |
comparison
equal
deleted
inserted
replaced
1693:32c6d81bd1ef | 1694:bd60a275dbc2 |
---|---|
2263 current_buddy = newbuddy; | 2263 current_buddy = newbuddy; |
2264 // Lock the buddy in the buddylist if we're in chat mode | 2264 // Lock the buddy in the buddylist if we're in chat mode |
2265 if (chatmode) | 2265 if (chatmode) |
2266 buddy_setflags(BUDDATA(current_buddy), ROSTER_FLAG_LOCK, TRUE); | 2266 buddy_setflags(BUDDATA(current_buddy), ROSTER_FLAG_LOCK, TRUE); |
2267 // We should rebuild the buddylist but not everytime | 2267 // We should rebuild the buddylist but not everytime |
2268 // Here we check if we were locking a buddy who is actually offline, | |
2269 // and hide_offline_buddies is TRUE. In which case we need to rebuild. | |
2270 if (!(buddylist_get_filter() & 1<<prev_st)) | 2268 if (!(buddylist_get_filter() & 1<<prev_st)) |
2271 buddylist_build(); | 2269 buddylist_build(); |
2272 update_roster = TRUE; | 2270 update_roster = TRUE; |
2273 } | 2271 } |
2274 | 2272 |