diff mcabber/src/screen.c @ 1355:9716cf8a0726

Add on_server flag Add a flag to the roster data, TRUE if the roster item is known by the server. The command /info displays a message if the item is local.
author Mikael Berthe <mikael@lilotux.net>
date Sat, 10 Nov 2007 23:15:16 +0100
parents 8e4e741787be
children 7bbfb0073f88
line wrap: on
line diff
--- a/mcabber/src/screen.c	Sat Nov 10 23:15:05 2007 +0100
+++ b/mcabber/src/screen.c	Sat Nov 10 23:15:16 2007 +0100
@@ -2198,7 +2198,7 @@
   // Create it if necessary
   if (!roster_elt)
     roster_elt = roster_add_user(barejid, NULL, NULL, ROSTER_TYPE_USER,
-                                 sub_none);
+                                 sub_none, -1);
   // Set a lock to see it in the buddylist
   buddy_setflags(BUDDATA(roster_elt), ROSTER_FLAG_LOCK, TRUE);
   buddylist_build();