File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -215,6 +215,11 @@ export const CRYPTO_ENABLED: boolean = isCryptoAvailable();
215
215
const CAPABILITIES_CACHE_MS = 21600000 ; // 6 hours - an arbitrary value
216
216
const TURN_CHECK_INTERVAL = 10 * 60 * 1000 ; // poll for turn credentials every 10 minutes
217
217
218
+ export const UNSTABLE_MSC3852_LAST_SEEN_UA = new UnstableValue (
219
+ "last_seen_user_agent" ,
220
+ "org.matrix.msc3852.last_seen_user_agent" ,
221
+ ) ;
222
+
218
223
interface IExportedDevice {
219
224
olmDevice : IExportedOlmDevice ;
220
225
userId : string ;
@@ -688,6 +693,8 @@ export interface IMyDevice {
688
693
display_name ?: string ;
689
694
last_seen_ip ?: string ;
690
695
last_seen_ts ?: number ;
696
+ [ UNSTABLE_MSC3852_LAST_SEEN_UA . stable ] ?: string ;
697
+ [ UNSTABLE_MSC3852_LAST_SEEN_UA . unstable ] ?: string ;
691
698
}
692
699
693
700
export interface IDownloadKeyResult {
You can’t perform that action at this time.
0 commit comments