Sort the pinning message list in the same order than the banner (#12937)
This commit is contained in:
parent
19f8b44745
commit
13ec19c22e
3 changed files with 8 additions and 6 deletions
|
@ -165,12 +165,14 @@ describe("<PinnedMessagesCard />", () => {
|
|||
room: "!room:example.org",
|
||||
user: "@alice:example.org",
|
||||
msg: "First pinned message",
|
||||
ts: 2,
|
||||
});
|
||||
const pin2 = mkMessage({
|
||||
event: true,
|
||||
room: "!room:example.org",
|
||||
user: "@alice:example.org",
|
||||
msg: "The second one",
|
||||
ts: 1,
|
||||
});
|
||||
|
||||
it("should show spinner whilst loading", async () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue