implement Scylla database
This commit is contained in:
@@ -10,7 +10,7 @@ func NewMessageResponse(message *Message) *MessageResponse {
|
||||
resp := &MessageResponse{Message: message}
|
||||
|
||||
if resp.User == nil {
|
||||
if user, _ := dbGetUser(resp.UserID); user != nil {
|
||||
if user, _ := dbGetUser(resp.UserID.String()); user != nil {
|
||||
resp.User = NewUserPayloadResponse(user)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user