Fix event debug returning wrong event json
This commit is contained in:
		
							
								
								
									
										1
									
								
								TODO.md
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								TODO.md
									
									
									
									
									
								
							| @@ -2,6 +2,7 @@ | ||||
|  | ||||
| ## Before release | ||||
|  | ||||
| - page back buttons | ||||
| - Add Gentoo instructions | ||||
| - Finish the README.md | ||||
| - Build final AppImage and test media opening | ||||
|   | ||||
| @@ -65,7 +65,7 @@ HColumnLayout { | ||||
|  | ||||
|     function json() { | ||||
|         let event    = ModelStore.get(chat.userId, chat.roomId, "events") | ||||
|                                  .get(model.id) | ||||
|                                  .get(model.index) | ||||
|         event        = JSON.parse(JSON.stringify(event)) | ||||
|         event.source = JSON.parse(event.source) | ||||
|         return JSON.stringify(event, null, 4) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	