MCPcopy Create free account
hub / github.com/VadimNotJustDev/SignalClone / updateLastMessage

Function updateLastMessage

components/MessageInput/MessageInput.tsx:123–129  ·  view source on GitHub ↗
(newMessage)

Source from the content-addressed store, hash-verified

121 };
122
123 const updateLastMessage = async (newMessage) => {
124 DataStore.save(
125 ChatRoom.copyOf(chatRoom, (updatedChatRoom) => {
126 updatedChatRoom.LastMessage = newMessage;
127 })
128 );
129 };
130
131 const onPlusClicked = () => {
132 console.warn("On plus clicked");

Callers 2

sendImageFunction · 0.85
sendAudioFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected