Fixing replies filtering and modifying tweets collection messages.
This commit is contained in:
parent
bd69b73529
commit
ad26072420
@ -3,5 +3,6 @@ replies
|
|||||||
|
|
||||||
self messages ifEmpty: [ self getMessages ].
|
self messages ifEmpty: [ self getMessages ].
|
||||||
^ TweetsCollection new
|
^ TweetsCollection new
|
||||||
messages: (self messages select: [ :each | (each metadata at: 'replie to') isNotEmpty ]);
|
messages: (self messages select: [ :each | (each metadata at: 'replie to') isNotEmpty
|
||||||
|
and: [ each authorId = self id ]]);
|
||||||
yourself
|
yourself
|
@ -1,3 +1,3 @@
|
|||||||
accessing
|
accessing
|
||||||
messages
|
messages
|
||||||
^ array
|
^ array select: [ :tweet | tweet isNotNil ].
|
@ -1,3 +1,3 @@
|
|||||||
accessing
|
accessing
|
||||||
oldest
|
oldest
|
||||||
^ self messages last
|
^ self last
|
Loading…
Reference in New Issue
Block a user