Fix small bug in roster_setstatus()
authorMikael Berthe <mikael@lilotux.net>
Sun, 09 Oct 2005 18:55:34 +0200
changeset 494 3f5aa4852684
parent 493 dba5de0b89bc
child 495 26f3c7695fe1
Fix small bug in roster_setstatus() For an existing resource, the priority was not updated.
mcabber/src/roster.c
--- 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);