5da0180f1f 
								
							 
						 
						
							
							
								
								Merge branch 'krille/fix-remove-avatar' into 'main'  
							
							... 
							
							
							
							fix: Ability to remove avatar from room and account
Closes  #223 
See merge request famedly/company/frontend/famedlysdk!906 
							
						 
						
							2021-11-22 19:20:00 +00:00  
				
					
						
							
							
								 
						
							
								3338da4e09 
								
							 
						 
						
							
							
								
								fix: Ability to remove avatar from room and account  
							
							... 
							
							
							
							To remove an avatar the
client needs to send an
empty object. This is now
possible by making the
MatrixFile parameter nullable. 
							
						 
						
							2021-11-22 19:36:38 +01:00  
				
					
						
							
							
								 
						
							
								7e4f27c657 
								
							 
						 
						
							
							
								
								Merge branch 'krille/fix-load-archived-room' into 'main'  
							
							... 
							
							
							
							fix: Request history in archived rooms
Closes  #238 
See merge request famedly/company/frontend/famedlysdk!905 
							
						 
						
							2021-11-22 12:16:00 +00:00  
				
					
						
							
							
								 
						
							
								27c03b4fad 
								
							 
						 
						
							
							
								
								fix: Request history in archived rooms  
							
							... 
							
							
							
							We have just forgotten to
set the prevBatch token in
the room object. 
							
						 
						
							2021-11-22 10:37:26 +01:00  
				
					
						
							
							
								 
						
							
								ffb4540172 
								
							 
						 
						
							
							
								
								Merge branch 'krille/create-chat-commands' into 'main'  
							
							... 
							
							
							
							feat: Add commands to create chats
See merge request famedly/company/frontend/famedlysdk!903 
							
						 
						
							2021-11-21 12:48:30 +00:00  
				
					
						
							
							
								 
						
							
								a61e1ae4a3 
								
							 
						 
						
							
							
								
								feat: Add commands to create chats  
							
							
							
						 
						
							2021-11-21 13:40:41 +01:00  
				
					
						
							
							
								 
						
							
								5c12a21e2e 
								
							 
						 
						
							
							
								
								Merge branch 'krille/anti-sembast' into 'main'  
							
							... 
							
							
							
							refactor: Remove Sembast database implementation
See merge request famedly/company/frontend/famedlysdk!902 
							
						 
						
							2021-11-18 19:07:21 +00:00  
				
					
						
							
							
								 
						
							
								b99a78476a 
								
							 
						 
						
							
							
								
								refactor: Remove Sembast database implementation  
							
							... 
							
							
							
							It was a nice experiment but it
loading everything into memory
is just too slow for big
accounts. 
							
						 
						
							2021-11-18 19:55:21 +01:00  
				
					
						
							
							
								 
						
							
								792e02b750 
								
							 
						 
						
							
							
								
								Merge branch 'krille/version' into 'main'  
							
							... 
							
							
							
							chore: Bump version
See merge request famedly/company/frontend/famedlysdk!898 
							
						 
						
							2021-11-16 10:55:06 +00:00  
				
					
						
							
							
								 
						
							
								1e3068249f 
								
							 
						 
						
							
							
								
								chore: Bump version  
							
							
							
						 
						
							2021-11-16 10:57:52 +01:00  
				
					
						
							
							
								 
						
							
								0532974022 
								
							 
						 
						
							
							
								
								Merge branch 'krille/sembast' into 'main'  
							
							... 
							
							
							
							feat: Implement sembast store
Closes  #239 
See merge request famedly/company/frontend/famedlysdk!892 
							
						 
						
							2021-11-16 09:42:40 +00:00  
				
					
						
							
							
								 
						
							
								f5051a5afe 
								
							 
						 
						
							
							
								
								feat: Implement sembast store  
							
							... 
							
							
							
							refactor: Use typed store 
							
						 
						
							2021-11-16 09:50:25 +01:00  
				
					
						
							
							
								 
						
							
								ae5225f495 
								
							 
						 
						
							
							
								
								Merge branch 'krille/fix-start-chat' into 'main'  
							
							... 
							
							
							
							fix: Dont enable e2ee without encryption support
See merge request famedly/company/frontend/famedlysdk!893 
							
						 
						
							2021-11-16 08:07:32 +00:00  
				
					
						
							
							
								 
						
							
								1804838324 
								
							 
						 
						
							
							
								
								Merge branch 'krille/fix-crash-in-htmltotext' into 'main'  
							
							... 
							
							
							
							fix: HtmlToText crashes with an empty code block
Closes  #249 
See merge request famedly/company/frontend/famedlysdk!897 
							
						 
						
							2021-11-16 07:27:09 +00:00  
				
					
						
							
							
								 
						
							
								66bf8e6ace 
								
							 
						 
						
							
							
								
								fix: HtmlToText crashes with an empty code block  
							
							
							
						 
						
							2021-11-16 08:18:07 +01:00  
				
					
						
							
							
								 
						
							
								483f8c83e8 
								
							 
						 
						
							
							
								
								Merge branch 'krille/trim-username-fallback' into 'main'  
							
							... 
							
							
							
							chore: Trim formatted username fallback
See merge request famedly/company/frontend/famedlysdk!895 
							
						 
						
							2021-11-15 15:33:44 +00:00  
				
					
						
							
							
								 
						
							
								13658b7da8 
								
							 
						 
						
							
							
								
								chore: Trim formatted username fallback  
							
							... 
							
							
							
							A user has a mxid with a trailing "-" which
becomes a whitespace here. We should
trim those whitespaces after formatting. 
							
						 
						
							2021-11-15 13:08:31 +01:00  
				
					
						
							
							
								 
						
							
								0be1576465 
								
							 
						 
						
							
							
								
								Merge branch 'krille/replace-old-statevent' into 'main'  
							
							... 
							
							
							
							fix: use originServerTs to check if state event is old
See merge request famedly/company/frontend/famedlysdk!894 
							
						 
						
							2021-11-15 11:33:12 +00:00  
				
					
						
							
							
								 
						
							
								b7565af56f 
								
							 
						 
						
							
							
								
								fix: use originServerTs to check if state event is old  
							
							... 
							
							
							
							Due to server bugs or whatever it sometimes
happens that old state events appear
in the setState method in the room class.
Previously we checked if we already know
this event ID, but for this we needed to
check the timeline which is very fluid.
Also this is a database operation in a
non-async method which works in Hive but
not in Sembast.
Using originServerTs is not 100% safe as
well but should be more stable because
the chance that servers have veeery wrong
time (which is necessary here) is much
lower than the risk that the timeline
is not long enough to know the
old event. 
							
						 
						
							2021-11-15 10:57:55 +01:00  
				
					
						
							
							
								 
						
							
								c8c4562f70 
								
							 
						 
						
							
							
								
								fix: Dont enable e2ee without encryption support  
							
							... 
							
							
							
							This also adds a missing visibility
parameter to the
createGroupChat method. 
							
						 
						
							2021-11-13 11:58:07 +01:00  
				
					
						
							
							
								 
						
							
								77d7249699 
								
							 
						 
						
							
							
								
								Merge branch 'krille/fix-edits-status' into 'main'  
							
							... 
							
							
							
							fix: Change eventstatus of edits in prevEvent
Closes  #244 
See merge request famedly/company/frontend/famedlysdk!891 
							
						 
						
							2021-11-12 14:00:13 +00:00  
				
					
						
							
							
								 
						
							
								f052957c0a 
								
							 
						 
						
							
							
								
								fix: Change eventstatus of edits in prevEvent  
							
							... 
							
							
							
							Unfortunately the last fix
was not working.
This fixes it for real now and also
adds a test case to make sure it
never breaks again. 
							
						 
						
							2021-11-11 09:48:50 +01:00  
				
					
						
							
							
								 
						
							
								5f448020af 
								
							 
						 
						
							
							
								
								Merge branch 'krille/updateversion' into 'main'  
							
							... 
							
							
							
							chore: Bump version
See merge request famedly/company/frontend/famedlysdk!889 
							
						 
						
							2021-11-10 13:10:19 +00:00  
				
					
						
							
							
								 
						
							
								fac91f8618 
								
							 
						 
						
							
							
								
								chore: Bump version  
							
							
							
						 
						
							2021-11-10 14:02:29 +01:00  
				
					
						
							
							
								 
						
							
								be617ee974 
								
							 
						 
						
							
							
								
								Merge branch 'krille/update_api' into 'main'  
							
							... 
							
							
							
							refactor: Update matrix_api_lite and use SyncUpdate constructors
See merge request famedly/company/frontend/famedlysdk!887 
							
						 
						
							2021-11-10 11:40:49 +00:00  
				
					
						
							
							
								 
						
							
								a78f64715b 
								
							 
						 
						
							
							
								
								Merge branch 'krille/fix-last-event-edit' into 'main'  
							
							... 
							
							
							
							fix: Edits as lastEvent do not update
Closes  #244 
See merge request famedly/company/frontend/famedlysdk!888 
							
						 
						
							2021-11-10 11:11:48 +00:00  
				
					
						
							
							
								 
						
							
								541abfb792 
								
							 
						 
						
							
							
								
								Merge branch 'krille/encryption-json' into 'main'  
							
							... 
							
							
							
							fix: JSON parsing in decryptRoomEvent method
Closes  #242 
See merge request famedly/company/frontend/famedlysdk!886 
							
						 
						
							2021-11-10 11:08:58 +00:00  
				
					
						
							
							
								 
						
							
								d16c25b26d 
								
							 
						 
						
							
							
								
								fix: Edits as lastEvent do not update  
							
							... 
							
							
							
							This fixes a bug where edit
events as lastEvents do not
update from SENDING status.
Because previously it only
checks if the event ID
matches. 
							
						 
						
							2021-11-10 10:43:05 +01:00  
				
					
						
							
							
								 
						
							
								58b36a67a3 
								
							 
						 
						
							
							
								
								refactor: Update matrix_api_lite and use SyncUpdate constructors  
							
							
							
						 
						
							2021-11-10 10:04:03 +01:00  
				
					
						
							
							
								 
						
							
								048b7faba0 
								
							 
						 
						
							
							
								
								fix: JSON parsing in decryptRoomEvent method  
							
							... 
							
							
							
							This makes the use of the
event content null safe and
type safe which fixes a
regression when sessionId is
null. 
							
						 
						
							2021-11-10 09:19:40 +01:00  
				
					
						
							
							
								 
						
							
								da4803b0e4 
								
							 
						 
						
							
							
								
								Merge branch 'krille/fix-null-check' into 'main'  
							
							... 
							
							
							
							fix: Wrong null check in hive database
Closes  #246 
See merge request famedly/company/frontend/famedlysdk!885 
							
						 
						
							2021-11-10 08:16:01 +00:00  
				
					
						
							
							
								 
						
							
								872b3bff94 
								
							 
						 
						
							
							
								
								fix: Wrong null check in hive database  
							
							
							
						 
						
							2021-11-10 09:09:24 +01:00  
				
					
						
							
							
								 
						
							
								db7d3b652a 
								
							 
						 
						
							
							
								
								Merge branch 'nico/displayname' into 'main'  
							
							... 
							
							
							
							fix: crash on invalid displaynames
See merge request famedly/company/frontend/famedlysdk!884 
							
						 
						
							2021-11-09 20:43:06 +00:00  
				
					
						
							
							
								 
						
							
								d2e7de4702 
								
							 
						 
						
							
							
								
								fix: crash on invalid displaynames  
							
							
							
						 
						
							2021-11-09 21:27:55 +01:00  
				
					
						
							
							
								 
						
							
								8baf9d44c7 
								
							 
						 
						
							
							
								
								Merge branch 'krille/fix-pub-publish' into 'main'  
							
							... 
							
							
							
							fix: Remove broken olm file
See merge request famedly/company/frontend/famedlysdk!883 
							
						 
						
							2021-11-09 16:19:58 +00:00  
				
					
						
							
							
								 
						
							
								1029d1285f 
								
							 
						 
						
							
							
								
								Merge branch 'krille/version' into 'main'  
							
							... 
							
							
							
							chore: Bump version
See merge request famedly/company/frontend/famedlysdk!882 
							
						 
						
							2021-11-09 15:55:54 +00:00  
				
					
						
							
							
								 
						
							
								2c1bc80013 
								
							 
						 
						
							
							
								
								fix: Remove broken olm file  
							
							... 
							
							
							
							I think this is something left over
from the time we had libolm as
a git sub repo. 
							
						 
						
							2021-11-09 16:49:28 +01:00  
				
					
						
							
							
								 
						
							
								ac652536a3 
								
							 
						 
						
							
							
								
								chore: Bump version  
							
							
							
						 
						
							2021-11-09 16:46:24 +01:00  
				
					
						
							
							
								 
						
							
								b350d5ab5b 
								
							 
						 
						
							
							
								
								Merge branch 'krille/create-rooms-methods' into 'main'  
							
							... 
							
							
							
							feat: More advanced create chat methods
See merge request famedly/company/frontend/famedlysdk!877 
							
						 
						
							2021-11-09 15:37:44 +00:00  
				
					
						
							
							
								 
						
							
								9abe1ed81d 
								
							 
						 
						
							
							
								
								fix: Dont enable e2ee in test verification DM room  
							
							
							
						 
						
							2021-11-09 15:42:43 +01:00  
				
					
						
							
							
								 
						
							
								4cf88e2be6 
								
							 
						 
						
							
							
								
								feat: More advanced create chat methods  
							
							... 
							
							
							
							This includes a new simplified
API to create new direct and
group chats. It also handles
enabling encryption by
default. 
							
						 
						
							2021-11-09 15:39:42 +01:00  
				
					
						
							
							
								 
						
							
								8116436da8 
								
							 
						 
						
							
							
								
								Merge branch 'krille/improve-start-up-time' into 'main'  
							
							... 
							
							
							
							feat: Make waiting on init db optional
Closes  #235 
See merge request famedly/company/frontend/famedlysdk!881 
							
						 
						
							2021-11-09 14:35:13 +00:00  
				
					
						
							
							
								 
						
							
								475e810523 
								
							 
						 
						
							
							
								
								feat: Make waiting on init db optional  
							
							... 
							
							
							
							This can improve the start-up time of apps.
The three big db reads on init are
loading account data, rooms and
device keys.
This makes it now possible to let
them run parallel
(while it may depend on platform
if this has any effect)
and the init() method can skip
awaiting them. They will
be at least awaited before handling
the first received sync.
So the app can already display the
room list before device keys are
loaded and request the first sync
from the server before anything
else is loaded from the DB. 
							
						 
						
							2021-11-09 15:27:48 +01:00  
				
					
						
							
							
								 
						
							
								c443b239b4 
								
							 
						 
						
							
							
								
								Merge branch 'krille/timeline-set-read-marker' into 'main'  
							
							... 
							
							
							
							refactor: Move setreadmarker functionality to timeline
See merge request famedly/company/frontend/famedlysdk!879 
							
						 
						
							2021-11-09 14:14:43 +00:00  
				
					
						
							
							
								 
						
							
								e313426dd9 
								
							 
						 
						
							
							
								
								refactor: Move setreadmarker functionality to timeline  
							
							... 
							
							
							
							Apps had a hard time to just set
the marker for the last event.
The lastEvent in the Room may
not be the actual last event
because we ignore several
event types there. Therefore
it makes sense to refactor
the setUnread method.
Now the timeline class has an
easy method to set the read
marker to the last synced
event, which can only be
known by the timeline if we
want to avoid another DB access. 
							
						 
						
							2021-11-09 14:56:59 +01:00  
				
					
						
							
							
								 
						
							
								7f9a75a43d 
								
							 
						 
						
							
							
								
								Merge branch 'krille/timeline-auto-update-list' into 'main'  
							
							... 
							
							
							
							feat: Add onInsert, onRemove and onUpdate cb to timeline
See merge request famedly/company/frontend/famedlysdk!880 
							
						 
						
							2021-11-09 13:08:42 +00:00  
				
					
						
							
							
								 
						
							
								e61faec722 
								
							 
						 
						
							
							
								
								Merge branch 'krille/benchmarks' into 'main'  
							
							... 
							
							
							
							feat: Add more benchmarks for sync, timeline, init
See merge request famedly/company/frontend/famedlysdk!876 
							
						 
						
							2021-11-09 09:43:45 +00:00  
				
					
						
							
							
								 
						
							
								315ed7bdcb 
								
							 
						 
						
							
							
								
								feat: Add more benchmarks for sync, timeline, init  
							
							... 
							
							
							
							This also disables benchmarks if loglevel is higher than debug. 
							
						 
						
							2021-11-09 10:03:59 +01:00  
				
					
						
							
							
								 
						
							
								e1f93637b3 
								
							 
						 
						
							
							
								
								feat: Add onInsert, onRemove and onUpdate cb to timeline  
							
							... 
							
							
							
							This makes it finally possible to
use Flutters AnimatedListView with
our Timeline class and in web we
can now update single elements
instead of the whole timeline
on every change which should
be quiet good for the
performance 
							
						 
						
							2021-11-09 09:55:26 +01:00  
				
					
						
							
							
								 
						
							
								0e2542b172 
								
							 
						 
						
							
							
								
								Merge branch 'krille/fix-own-profile' into 'main'  
							
							... 
							
							
							
							fix: Null error in get own profile
See merge request famedly/company/frontend/famedlysdk!875 
							
						 
						
							2021-11-05 11:39:35 +00:00