Maintenance does not clean links
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gwibber |
New
|
Undecided
|
Unassigned |
Bug Description
At application start, there is a maintenance programmed after the first refresh. This maintenance executes the function maintenance() in storage.py and execute the following sql function to delete the cache when there is over 2000 messages.
self.db.
However this sql request is limited to messages where stream = 'messages'. Is there a reason to do so ?
I have two accounts configured on my Gwibber instance (Twitter and StatusNet), the accounts are full of 'links'.
sqlite> select count(*) from messages where stream = 'messages';
4222
sqlite> select count(*) from messages where stream = 'links';
21487
Is there any reason to keep the links ? Why can't me delete it as well ?