Compare commits
	
		
			No commits in common. "d530358359cdc1dc0eec3b6b9b7ff7da1e21abd1" and "b6aa28e1ee8ab2173f4012787445275b87fadc5b" have entirely different histories.
		
	
	
		
			d530358359
			...
			b6aa28e1ee
		
	
		
| @ -415,7 +415,13 @@ class OmemoSessionManager { | |||||||
|   /// Returns the device map, i.e. the mapping of bare Jid to its device identifiers |   /// Returns the device map, i.e. the mapping of bare Jid to its device identifiers | ||||||
|   /// we have built sessions with. |   /// we have built sessions with. | ||||||
|   Future<Map<String, List<int>>> getDeviceMap() async { |   Future<Map<String, List<int>>> getDeviceMap() async { | ||||||
|     return _lock.synchronized(() => _deviceMap); |     Map<String, List<int>>? map; | ||||||
|  | 
 | ||||||
|  |     await _lock.synchronized(() async { | ||||||
|  |       map = _deviceMap; | ||||||
|  |     }); | ||||||
|  | 
 | ||||||
|  |     return map!; | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   /// Removes the ratchet identified by [jid] and [deviceId] from the session manager. |   /// Removes the ratchet identified by [jid] and [deviceId] from the session manager. | ||||||
|  | |||||||
| @ -11,7 +11,7 @@ dependencies: | |||||||
|   collection: ^1.16.0 |   collection: ^1.16.0 | ||||||
|   cryptography: ^2.0.5 |   cryptography: ^2.0.5 | ||||||
|   hex: ^0.2.0 |   hex: ^0.2.0 | ||||||
|   meta: ^1.7.0 |   meta: ^1.8.0 | ||||||
|   pinenacl: ^0.5.1 |   pinenacl: ^0.5.1 | ||||||
|   synchronized: ^3.0.0+2 |   synchronized: ^3.0.0+2 | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user