Mercurial > ~mikael > mcabber > hg
diff mcabber/src/screen.c @ 438:b44be19d6229
Handle multiple resources for the same buddy
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Mon, 19 Sep 2005 23:32:42 +0200 |
parents | 2f9852610cf4 |
children | 5927c3bfba13 |
line wrap: on
line diff
--- a/mcabber/src/screen.c Fri Sep 16 21:49:39 2005 +0200 +++ b/mcabber/src/screen.c Mon Sep 19 23:32:42 2005 +0200 @@ -733,7 +733,7 @@ pending = '#'; } - budstate = buddy_getstatus(BUDDATA(buddy)); + budstate = buddy_getstatus(BUDDATA(buddy), NULL); if (budstate >= 0 && budstate < imstatus_size && currentstatus != offline) status = imstatus2char[budstate]; if (buddy == current_buddy) { @@ -849,7 +849,7 @@ if (!current_buddy || !newbuddy) return; if (newbuddy == current_buddy) return; - prev_st = buddy_getstatus(BUDDATA(current_buddy)); + prev_st = buddy_getstatus(BUDDATA(current_buddy), NULL); buddy_setflags(BUDDATA(current_buddy), ROSTER_FLAG_LOCK, FALSE); if (chatmode) alternate_buddy = current_buddy;