Fixing method for geting oldest tweets, modifying store avoiding duplication.
This commit is contained in:
parent
06b0d5748d
commit
104fe9e348
@ -1,4 +1,4 @@
|
||||
accessing
|
||||
getPagesContentsFromOldestUpto: anInteger
|
||||
|
||||
^ self getPagesContentsFrom: ((self messages oldest metadata select: [ :item | item beginsWith: 'https://' ]) values first) Upto: anInteger
|
||||
^ self getPagesContentsFrom: ((self messages oldest metadata select: [ :item | item isString and: [ item beginsWith: 'https://' ]]) values first) Upto: anInteger
|
@ -2,7 +2,7 @@ accessing
|
||||
store
|
||||
ReStore isConnected ifFalse: [ self class storeDB ]. "Starting the ReStore singleton."
|
||||
self messages do: [ :each | ReStore evaluateAsTransaction: [
|
||||
each store.
|
||||
each isInDB ifFalse: [ each store ].
|
||||
each user isInDB ifFalse: [ each user store ]
|
||||
]
|
||||
].
|
Loading…
Reference in New Issue
Block a user