[Store] Fix query
This commit is contained in:
		
							parent
							
								
									453bdd0106
								
							
						
					
					
						commit
						e5d4c6be73
					
				|  | @ -212,7 +212,7 @@ class Store { | ||||||
|         json.encode(userUpdate.content["content"]), |         json.encode(userUpdate.content["content"]), | ||||||
|       ]); |       ]); | ||||||
|     else if (userUpdate.type == "presence") |     else if (userUpdate.type == "presence") | ||||||
|       txn.rawInsert("INSERT OR REPLACE INTO Presence VALUES(?, ?)", [ |       txn.rawInsert("INSERT OR REPLACE INTO Presences VALUES(?, ?)", [ | ||||||
|         userUpdate.eventType, |         userUpdate.eventType, | ||||||
|         userUpdate.content["sender"], |         userUpdate.content["sender"], | ||||||
|         json.encode(userUpdate.content["content"]), |         json.encode(userUpdate.content["content"]), | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue