diff mcabber/src/roster.h @ 974:36f7753dfb59

Add /roster item_{lock,unlock} These commands allow us to lock a contact so it stays visible in the roster when hide_offline_buddies is set.
author Mikael Berthe <mikael@lilotux.net>
date Sat, 30 Sep 2006 22:42:32 +0200
parents 1bdf0f1b16c0
children ed697234bd39
line wrap: on
line diff
--- a/mcabber/src/roster.h	Sat Sep 30 19:13:20 2006 +0200
+++ b/mcabber/src/roster.h	Sat Sep 30 22:42:32 2006 +0200
@@ -71,7 +71,8 @@
 #define ROSTER_FLAG_MSG     1U      // Message not read
 #define ROSTER_FLAG_HIDE    (1U<<1) // Group hidden (or buddy window closed)
 #define ROSTER_FLAG_LOCK    (1U<<2) // Node should not be removed from buddylist
-// ROSTER_FLAG_LOCAL   (1U<<3) // Buddy not on server's roster  (??)
+#define ROSTER_FLAG_USRLOCK (1U<<3) // Node should not be removed from buddylist
+// ROSTER_FLAG_LOCAL   (1U<<4) // Buddy not on server's roster  (??)
 
 extern GList *buddylist;
 extern GList *current_buddy;