--- a/mcabber/src/commands.c Sun May 21 09:47:12 2006 +0200
+++ b/mcabber/src/commands.c Sun May 21 09:49:04 2006 +0200
@@ -652,7 +652,6 @@
if (buddy_gettype(BUDDATA(current_buddy)) & ROSTER_TYPE_ROOM) {
// This is a chatroom
- // If there are resources, we haven't left
if (buddy_getinsideroom(BUDDATA(current_buddy))) {
scr_LogPrint(LPRINT_NORMAL, "You haven't left this room!");
return;
--- a/mcabber/src/jabglue.c Sun May 21 09:47:12 2006 +0200
+++ b/mcabber/src/jabglue.c Sun May 21 09:49:04 2006 +0200
@@ -323,7 +323,6 @@
void jb_setstatus(enum imstatus st, const char *recipient, const char *msg)
{
xmlnode x;
- struct T_presence room_presence;
if (!online) return;
@@ -355,6 +354,7 @@
// Send presence to chatrooms
if (st != invisible) {
+ struct T_presence room_presence;
room_presence.st = st;
room_presence.msg = msg;
foreach_buddy(ROSTER_TYPE_ROOM, &roompresence, &room_presence);