[PD1] Logic all done?

This commit is contained in:
Afonso Franco 2024-04-20 00:55:16 +01:00
parent cfe9f3c7b3
commit 4c141bbc6e
Signed by: afonso
SSH key fingerprint: SHA256:aiLbdlPwXKJS5wMnghdtod0SPy8imZjlVvCyUX9DJNk
4 changed files with 31 additions and 34 deletions

View file

@ -48,6 +48,7 @@ F:
if active := connection.Send(message); !active {
break F
}
dataStore.MarkMessageInQueueAsRead(UID, reqMsg.Num)
case protocol.SubmitMsgPkt:
submitMsg := protocol.UnmarshalSubmitMessagePacket(pac.Body)
if submitMsg.ToUID != UID && dataStore.userExists(submitMsg.ToUID) {