I can think of two possible fixes;

1) When Alice starts the Direct chat with Bob it creates *two* rooms. One at Alice's end that's tied to Bob, and one at Bob's, tied to Alice. The room tied to Alice will always display her current username and avatar, and the same with one tied to Bob will show his. If either user has two accounts on the room at once, it defaults to the username and avatar of the one that's been there longest.

(4/?)

Reply to this note

Please Login to reply.

Discussion

When the Direct chat begins, once the two rooms are created, they are plumbed together. Whichever of Alice's accounts come and go through the room, from Bob's end, it's always a 'chat with Bob' at her end, and a 'chat with Alice' at his. With the appropriate name and avatar at each end.

The second solution is potentially fiddlier, because it tinkers with the sessions verification system...

(5/?)