From 87defbfb5186191e6c4463a72f162222d2cb7646 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 27 Apr 2021 14:27:14 +0200 Subject: [PATCH] sort invites most recent first --- src/domain/session/leftpanel/InviteTileViewModel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/domain/session/leftpanel/InviteTileViewModel.js b/src/domain/session/leftpanel/InviteTileViewModel.js index 5c3082c0..10c84628 100644 --- a/src/domain/session/leftpanel/InviteTileViewModel.js +++ b/src/domain/session/leftpanel/InviteTileViewModel.js @@ -42,7 +42,7 @@ export class InviteTileViewModel extends BaseTileViewModel { if (parentComparison !== 0) { return parentComparison; } - return this._invite.timestamp - other._invite.timestamp; + return other._invite.timestamp - this._invite.timestamp; } get name() {