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 ].
|
||||
^ 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
|
@ -1,3 +1,3 @@
|
||||
accessing
|
||||
messages
|
||||
^ array
|
||||
^ array select: [ :tweet | tweet isNotNil ].
|
@ -1,3 +1,3 @@
|
||||
accessing
|
||||
oldest
|
||||
^ self messages last
|
||||
^ self last
|
Loading…
Reference in New Issue
Block a user