зеркало из https://github.com/mozilla/snowl.git
store tweet in subject field to avoid non lazy retrieval of parts to construct excerpt when no subject.
This commit is contained in:
Родитель
07b383d042
Коммит
85fffc9d8a
|
@ -434,6 +434,10 @@ SnowlTwitter.prototype = {
|
|||
|
||||
message.source = this;
|
||||
message.externalID = item.id;
|
||||
// Place tweet text in subject; avoids requiring parts.content or parts.summary
|
||||
// as excerpt, used when no subject; non lazy retrieval of parts from the db
|
||||
// in List view is not a perfomance enhancer for large lists.
|
||||
message.subject = item.text;
|
||||
message.timestamp = new Date(item.created_at);
|
||||
message.received = received || new Date();
|
||||
message.author = new SnowlIdentity(null,
|
||||
|
|
Загрузка…
Ссылка в новой задаче