Private
Public Access
1
0

Kordophone-2.6: lastMessage in /conversations

This commit is contained in:
2023-08-10 00:42:21 -07:00
parent f13a809f1e
commit 56ad3a49ea
4 changed files with 8 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ import (
"github.com/rs/zerolog/log"
)
const VERSION = "Kordophone-2.0"
const VERSION = "Kordophone-2.6"
const (
AUTH_USERNAME = "test"
@@ -118,7 +118,8 @@ func (s *Server) PopulateWithTestData() {
}
}
// Update last message preview
// Update last message
convo.LastMessage = lastMessage
convo.LastMessagePreview = lastMessage.Text
}