diff mcabber/src/roster.c @ 494:3f5aa4852684

Fix small bug in roster_setstatus() For an existing resource, the priority was not updated.
author Mikael Berthe <mikael@lilotux.net>
date Sun, 09 Oct 2005 18:55:34 +0200
parents 21ab22a60bcb
children 7c1ca00070e8
line wrap: on
line diff
--- a/mcabber/src/roster.c	Sun Oct 09 12:12:47 2005 +0200
+++ b/mcabber/src/roster.c	Sun Oct 09 18:55:34 2005 +0200
@@ -397,6 +397,7 @@
 
   // New or updated resource
   p_res = get_or_add_resource(roster_usr, resname, prio);
+  p_res->prio = prio;
   p_res->status = bstat;
   if (p_res->status_msg) {
     g_free((gchar*)p_res->status_msg);