changeset 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 dba5de0b89bc
children 26f3c7695fe1
files mcabber/src/roster.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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);