mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
FEATURE: Add user status to chat members list (#25831)
This change adds the user status next to the name within the chat channel members list.
This commit is contained in:
@ -28,7 +28,7 @@ module(
|
||||
|
||||
await render(hbs`<ChatUserDisplayName @user={{this.user}} />`);
|
||||
|
||||
assert.strictEqual(displayName(), "bob — Bobcat");
|
||||
assert.strictEqual(displayName(), "bob Bobcat");
|
||||
});
|
||||
}
|
||||
);
|
||||
@ -53,7 +53,7 @@ module(
|
||||
|
||||
await render(hbs`<ChatUserDisplayName @user={{this.user}} />`);
|
||||
|
||||
assert.strictEqual(displayName(), "Bobcat — bob");
|
||||
assert.strictEqual(displayName(), "Bobcat bob");
|
||||
});
|
||||
}
|
||||
);
|
||||
|
Reference in New Issue
Block a user