aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/pinDms/settings.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/pinDms/settings.ts')
-rw-r--r--src/plugins/pinDms/settings.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/pinDms/settings.ts b/src/plugins/pinDms/settings.ts
index 092a0db..e8bd267 100644
--- a/src/plugins/pinDms/settings.ts
+++ b/src/plugins/pinDms/settings.ts
@@ -71,7 +71,7 @@ export function togglePin(id: string) {
save([...snapshot]);
}
-function sortedSnapshot() {
+export function sortedSnapshot() {
requireSnapshot();
if (settings.store.pinOrder === PinOrder.LastMessage)
return PrivateChannelSortStore.getPrivateChannelIds().filter(isPinned);