97bf7723dd 
								
							 
						 
						
							
							
								
								fix: Wait for rate limit to pass while sending messages  
							
							... 
							
							
							
							Otherwise the user can't handle that exception themselves, since we
don't rethrow. 
							
						 
						
							2023-09-21 13:04:57 +02:00  
				
					
						
							
							
								 
						
							
								8ac86a883d 
								
							 
						 
						
							
							
								
								feat: Implement member change type  
							
							... 
							
							
							
							For easier handling and
comparing of m.room.member
state events to better
know what these event
actually changes. 
							
						 
						
							2023-09-19 16:19:42 +02:00  
				
					
						
							
							
								 
						
							
								dab7f6667e 
								
							 
						 
						
							
							
								
								Merge branch 'main' into nico/fix-okb-bootstrap  
							
							
							
						 
						
							2023-09-19 14:02:18 +02:00  
				
					
						
							
							
								 
						
							
								bf51e57e78 
								
							 
						 
						
							
							
								
								chore: remove redundant log message  
							
							
							
						 
						
							2023-09-19 12:24:06 +02:00  
				
					
						
							
							
								 
						
							
								3fb77383a3 
								
							 
						 
						
							
							
								
								fix: wait for online key backup key to be cached on reset  
							
							... 
							
							
							
							Otherwise uploading the keys won't work, since the key backup is
"disabled". 
							
						 
						
							2023-09-18 17:16:43 +02:00  
				
					
						
							
							
								 
						
							
								500e423c00 
								
							 
						 
						
							
							
								
								fix: storing the end of history pagination  
							
							... 
							
							
							
							At least in our CI this throws a null assertion error and since we
explicitly expect this to sometimes be null in our code, we should store
it as such. 
							
						 
						
							2023-09-18 12:02:06 +02:00  
				
					
						
							
							
								 
						
							
								c38cbbc8dc 
								
							 
						 
						
							
							
								
								fix: apply state event before decryption on leaved room  
							
							
							
						 
						
							2023-09-18 11:33:17 +02:00  
				
					
						
							
							
								 
						
							
								5b47a647b6 
								
							 
						 
						
							
							
								
								fix: userOwnsEncryptionKeys returns true for empty device lists  
							
							
							
						 
						
							2023-09-13 14:26:41 +02:00  
				
					
						
							
							
								 
						
							
								cce3646339 
								
							 
						 
						
							
							
								
								fix: startDirectChat might return an unjoined room  
							
							... 
							
							
							
							If you create DM room, but the other party doesn't join it, they might
be unable to create a new DM using startDirectChat. Since creating a new
DM is pretty much the same as joining the invite, we try to join the
pending DM invite first and fall back to creating a new room if that
fails. 
							
						 
						
							2023-09-04 13:27:55 +02:00  
				
					
						
							
							
								 
						
							
								b17f3a47f2 
								
							 
						 
						
							
							
								
								Merge pull request  #1547  from famedly/krille/request-participants-cache  
							
							... 
							
							
							
							feat: Add option to not cache users in memory when requesting all of … 
							
						 
						
							2023-08-16 09:15:56 +00:00  
				
					
						
							
							
								 
						
							
								0c60ad7acd 
								
							 
						 
						
							
							
								
								feat: Add option to not cache users in memory when requesting all of a room  
							
							
							
						 
						
							2023-08-13 08:16:11 +02:00  
				
					
						
							
							
								 
						
							
								dd64f4702a 
								
							 
						 
						
							
							
								
								fix: Has new messages is never true  
							
							
							
						 
						
							2023-08-10 08:44:07 +02:00  
				
					
						
							
							
								 
						
							
								30c27f00a1 
								
							 
						 
						
							
							
								
								fix: direct message room name computation  
							
							... 
							
							
							
							Signed-off-by: The one with the braid <braid@famedly.com> 
							
						 
						
							2023-08-04 08:17:17 +02:00  
				
					
						
							
							
								 
						
							
								4addccd9da 
								
							 
						 
						
							
							
								
								Merge pull request  #1534  from famedly/nico/simplify-sorting  
							
							... 
							
							
							
							refactor: simplify UIA stage selection logic 
							
						 
						
							2023-08-01 08:56:56 +00:00  
				
					
						
							
							
								 
						
							
								59693b7375 
								
							 
						 
						
							
							
								
								refactor: simplify UIA stage selection logic  
							
							... 
							
							
							
							(Also prevents a potential out of bounds exception) 
							
						 
						
							2023-08-01 10:31:55 +02:00  
				
					
						
							
							
								 
						
							
								b27fd4575d 
								
							 
						 
						
							
							
								
								Merge pull request  #1535  from famedly/nico/fix-okb-reset  
							
							... 
							
							
							
							Make online key backup reset actually backup keys 
							
						 
						
							2023-08-01 08:24:25 +00:00  
				
					
						
							
							
								 
						
							
								a016709a40 
								
							 
						 
						
							
							
								
								feat: Upload keys on OKB reset  
							
							... 
							
							
							
							This does make the reset take longer on big accounts, but otherwise
users might sign out before the keys are uploaded, which makes the reset
more destructive than necessary. In the common case of not having any
keys it shouldn't make a difference. 
							
						 
						
							2023-07-31 17:31:04 +02:00  
				
					
						
							
							
								 
						
							
								eb0759caf5 
								
							 
						 
						
							
							
								
								fix: fix upload of old session after reset  
							
							... 
							
							
							
							Otherwise we would need to wait for a new inbound session to upload
them. It might increase disk usage a bit every 10 minutes. 
							
						 
						
							2023-07-31 17:31:04 +02:00  
				
					
						
							
							
								 
						
							
								334c9e3b78 
								
							 
						 
						
							
							
								
								refactor: Simplify room sorting logic to make invite sorting more obvious  
							
							... 
							
							
							
							It wasn't quite obvious that invites were always sorted at the top, if
you just looked at the sort function. This makes it more explicit and
also makes invites always sort before favourited rooms. 
							
						 
						
							2023-07-31 10:55:27 +02:00  
				
					
						
							
							
								 
						
							
								66a53786e7 
								
							 
						 
						
							
							
								
								fix: do not proceed call if getUserMedia fails  
							
							... 
							
							
							
							fix: added a few missing awaits
fix: add a workaround for not having state updates for staleCallChecker till sync
chore: fix some logging 
							
						 
						
							2023-07-10 14:19:16 +05:30  
				
					
						
							
							
								 
						
							
								d042f9e6ae 
								
							 
						 
						
							
							
								
								chore: pass event to redactedAnEvent and removedBy  
							
							
							
						 
						
							2023-07-04 17:09:23 +05:30  
				
					
						
							
							
								 
						
							
								538865f62a 
								
							 
						 
						
							
							
								
								chore: cleanup some eventTypes and unused variables  
							
							
							
						 
						
							2023-06-27 13:46:39 +05:30  
				
					
						
							
							
								 
						
							
								bfda82bb45 
								
							 
						 
						
							
							
								
								chore: fix unexpected null when device is not known  
							
							
							
						 
						
							2023-06-27 13:30:05 +05:30  
				
					
						
							
							
								 
						
							
								f310632a83 
								
							 
						 
						
							
							
								
								fix: Assign correct type to signedOneTimeKeys  
							
							
							
						 
						
							2023-06-22 17:18:10 +02:00  
				
					
						
							
							
								 
						
							
								6a0a252912 
								
							 
						 
						
							
							
								
								feat: qr key verification  
							
							
							
						 
						
							2023-06-21 19:15:26 +05:30  
				
					
						
							
							
								 
						
							
								395ef0eb8e 
								
							 
						 
						
							
							
								
								refactor: Use tryGet for type casts whenever possible  
							
							
							
						 
						
							2023-06-21 15:04:46 +02:00  
				
					
						
							
							
								 
						
							
								5943576b1b 
								
							 
						 
						
							
							
								
								refactor: Added type casts to match refactored matrix_api_lite  
							
							
							
						 
						
							2023-06-16 12:42:10 +02:00  
				
					
						
							
							
								 
						
							
								17df38b874 
								
							 
						 
						
							
							
								
								refactor: Added type casts for refactored dart_openapi_codegen  
							
							
							
						 
						
							2023-06-16 12:41:29 +02:00  
				
					
						
							
							
								 
						
							
								b90c1b8ca7 
								
							 
						 
						
							
							
								
								fix: Do not display prevContent displayname and avatar for joined users  
							
							
							
						 
						
							2023-06-14 12:54:18 +02:00  
				
					
						
							
							
								 
						
							
								d65dc721c3 
								
							 
						 
						
							
							
								
								fix: canRequestHistory should return false if prev_batch is null  
							
							
							
						 
						
							2023-06-03 18:03:42 +02:00  
				
					
						
							
							
								 
						
							
								2ebda5e6fc 
								
							 
						 
						
							
							
								
								chore: fix edited last events breaking db  
							
							
							
						 
						
							2023-06-01 23:58:47 +05:30  
				
					
						
							
							
								 
						
							
								85a21a6781 
								
							 
						 
						
							
							
								
								fix: Do not store global profiles in room states as members  
							
							
							
						 
						
							2023-05-31 15:01:42 +02:00  
				
					
						
							
							
								 
						
							
								8cb144aaae 
								
							 
						 
						
							
							
								
								Merge branch 'krille/performance-warning' into 'main'  
							
							... 
							
							
							
							feat: Display performance warning when requesting more than 100 participants
See merge request famedly/company/frontend/famedlysdk!1301 
							
						 
						
							2023-05-30 11:48:51 +00:00  
				
					
						
							
							
								 
						
							
								0f36659ba7 
								
							 
						 
						
							
							
								
								feat: Display performance warning when requesting more than 100 participants  
							
							
							
						 
						
							2023-05-30 13:11:38 +02:00  
				
					
						
							
							
								 
						
							
								07ceee4171 
								
							 
						 
						
							
							
								
								refactor: Let bootstrap throw custom Exception InvalidPassphraseException so it is easier to catch  
							
							
							
						 
						
							2023-05-30 09:41:10 +02:00  
				
					
						
							
							
								 
						
							
								c6b6c793d6 
								
							 
						 
						
							
							
								
								Merge branch 'krille/store-last-event-redacted' into 'main'  
							
							... 
							
							
							
							fix: Also update last event on redaction in store
Closes famedly/company/product-management#990
See merge request famedly/company/frontend/famedlysdk!1298 
							
						 
						
							2023-05-30 06:58:40 +00:00  
				
					
						
							
							
								 
						
							
								153005f4a7 
								
							 
						 
						
							
							
								
								chore: calculate unlocalized body  
							
							
							
						 
						
							2023-05-17 08:37:41 +02:00  
				
					
						
							
							
								 
						
							
								8f38006c18 
								
							 
						 
						
							
							
								
								fix: Also update last event on redaction in store  
							
							
							
						 
						
							2023-05-16 13:33:57 +02:00  
				
					
						
							
							
								 
						
							
								ac0fdc1deb 
								
							 
						 
						
							
							
								
								Merge branch 'td/moreMissingAwaitsbahh' into 'main'  
							
							... 
							
							
							
							chore: add missing awaits to to_device call events listener
See merge request famedly/company/frontend/famedlysdk!1295 
							
						 
						
							2023-05-15 19:52:03 +00:00  
				
					
						
							
							
								 
						
							
								26e0d0954d 
								
							 
						 
						
							
							
								
								chore: add missing awaits to to_device call events listener  
							
							
							
						 
						
							2023-05-13 20:06:04 +05:30  
				
					
						
							
							
								 
						
							
								8e4f4486b2 
								
							 
						 
						
							
							
								
								chore: add missing awaits to to_device call events listener  
							
							
							
						 
						
							2023-05-13 20:05:09 +05:30  
				
					
						
							
							
								 
						
							
								c714574c3f 
								
							 
						 
						
							
							
								
								refactor: Check correct if null  
							
							... 
							
							
							
							This checks it in a more consistent way
and also makes developing new
databases easier as they
might set the json key but
set it null. 
							
						 
						
							2023-05-11 12:17:53 +02:00  
				
					
						
							
							
								 
						
							
								9c2f026b4d 
								
							 
						 
						
							
							
								
								refactor: Remove unused parameters  
							
							
							
						 
						
							2023-05-11 09:24:41 +02:00  
				
					
						
							
							
								 
						
							
								47c54cb397 
								
							 
						 
						
							
							
								
								fix: mark DMs as DMs properly when joining  
							
							... 
							
							
							
							If we join first, it is possible that our member event is not the invite
event anymore. As such we should fetch that state first, before joining.
But also there is little reason not to mark the room as a DM
immediately. That prevents the room from temporarily becoming a group
room, that might be visible in the UI temporarily.
fixes https://gitlab.com/famedly/company/product-management/-/issues/1006  
							
						 
						
							2023-05-09 16:09:01 +02:00  
				
					
						
							
							
								 
						
							
								cc377202da 
								
							 
						 
						
							
							
								
								fix: remove deprecated sender_key occurrences  
							
							
							
						 
						
							2023-05-08 09:12:14 +00:00  
				
					
						
							
							
								 
						
							
								36070e23b7 
								
							 
						 
						
							
							
								
								fix: cast issues in getEventList  
							
							
							
						 
						
							2023-05-05 19:31:08 +05:30  
				
					
						
							
							
								 
						
							
								e170325cae 
								
							 
						 
						
							
							
								
								refactor: Make parameters more clear and remove unused methods  
							
							
							
						 
						
							2023-05-05 13:38:56 +02:00  
				
					
						
							
							
								 
						
							
								f21260b035 
								
							 
						 
						
							
							
								
								fix: Only request users which are valid mxid  
							
							
							
						 
						
							2023-05-04 15:22:44 +02:00  
				
					
						
							
							
								 
						
							
								4abefa906b 
								
							 
						 
						
							
							
								
								fix: Always wait for account data to load before returning SSSS status  
							
							... 
							
							
							
							Otherwise it would be possible, that we haven't loaded account data, so
we return that cross-signing is disabled and then we load it and return
a different result. Might fix the sentry issue for that. 
							
						 
						
							2023-05-03 17:11:00 +02:00  
				
					
						
							
							
								 
						
							
								2c14af9a8b 
								
							 
						 
						
							
							
								
								fix: Reactions are sent encrypted  
							
							
							
						 
						
							2023-05-03 13:01:10 +02:00