working on database
parent
62c39fdc30
commit
3696246455
|
@ -44,7 +44,7 @@ function ChatItem(props: {
|
||||||
onPress={() => {
|
onPress={() => {
|
||||||
let chat = {...store.getState().nonSaveVariables.chats[roomId]};
|
let chat = {...store.getState().nonSaveVariables.chats[roomId]};
|
||||||
|
|
||||||
//chat.timestamp = Math.round(new Date().getTime() / 1000);
|
chat.timestamp = Math.round(new Date().getTime() / 1000);
|
||||||
|
|
||||||
store.dispatch(appNonSaveVarActions.changeChatEntity(chat));
|
store.dispatch(appNonSaveVarActions.changeChatEntity(chat));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue