Replace MessageController with MessageCache
This commit is contained in:
parent
ba1a8aad09
commit
7d35216fda
73 changed files with 2237 additions and 1229 deletions
7
ts/CI.ts
7
ts/CI.ts
|
@ -120,7 +120,12 @@ export function getCI(deviceName: string): CIType {
|
|||
[sentAt]
|
||||
);
|
||||
return messages.map(
|
||||
m => window.MessageController.register(m.id, m).attributes
|
||||
m =>
|
||||
window.MessageCache.__DEPRECATED$register(
|
||||
m.id,
|
||||
m,
|
||||
'CI.getMessagesBySentAt'
|
||||
).attributes
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue