From 3d3e1052988a219bb812b328076395a04eb9e0b0 Mon Sep 17 00:00:00 2001 From: KoalaSat Date: Wed, 5 Apr 2023 11:57:37 +0200 Subject: [PATCH] v0.3.2.4-alpha --- android/app/build.gradle | 4 ++-- frontend/Pages/HomePage/HomeFeed/MyFeed/index.tsx | 11 +++-------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 004fe149..fde18b2c 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -107,8 +107,8 @@ android { applicationId "com.nostros" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 69 - versionName "v0.3.2.2-alpha" + versionCode 70 + versionName "v0.3.2.4-alpha" } splits { diff --git a/frontend/Pages/HomePage/HomeFeed/MyFeed/index.tsx b/frontend/Pages/HomePage/HomeFeed/MyFeed/index.tsx index 42f7de29..57b4fb46 100644 --- a/frontend/Pages/HomePage/HomeFeed/MyFeed/index.tsx +++ b/frontend/Pages/HomePage/HomeFeed/MyFeed/index.tsx @@ -90,16 +90,11 @@ export const MyFeed: React.FC = ({ setNotes(results) setRefreshing(false) - const message: RelayFilters = { + relayPool?.subscribe('homepage-myfeed-main', [{ kinds: [Kind.Text, Kind.RecommendRelay], authors: contacts, - } - if (results.length >= pageSize) { - message.since = results[pageSize - 1].created_at - } else { - message.limit = pageSize - } - relayPool?.subscribe('homepage-myfeed-main', [message]) + limit: pageSize + }]) if (results.length > 0) { const noteIds = results.map((note) => note.id ?? '')