Kordophone-2.6: lastMessage in /conversations
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user