Skip to content

Commit

Permalink
v0.3.2.4-alpha (#486)
Browse files Browse the repository at this point in the history
  • Loading branch information
KoalaSat authored Apr 5, 2023
2 parents ad3458b + 3d3e105 commit ba1e3fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
11 changes: 3 additions & 8 deletions frontend/Pages/HomePage/HomeFeed/MyFeed/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,11 @@ export const MyFeed: React.FC<MyFeedProps> = ({
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 ?? '')
Expand Down

0 comments on commit ba1e3fb

Please sign in to comment.