Archiving chat room hides usernames with "guest-0".

Comments

Anonymous’s picture

hmm:

$sql = "INSERT INTO {chatroom_chat_online_list} (ccid, uid, sid, guest_id, last_seen_time) 
                SELECT %d, %d, '%s', COALESCE(MAX(guest_id) + 1, 1), %d
                FROM {chatroom_chat_online_list} 
                WHERE ccid = %d";

that shouldn't let there ever be a guest id of '0'.

can you give me more information? a screenshot?

Anonymous’s picture

Version: 6.x-2.0-beta3 » 6.x-2.x-dev
Assigned: Unassigned »

oh wait, now i see it.

probably my hacky theme fixes for archived chats, fix coming shortly, thanks for the report.

Anonymous’s picture

Status: Active » Fixed

fix committed here:

http://drupal.org/cvs?commit=291356

please reopen if that doesn't work for you.

tormi’s picture

Seems OK now, thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)