Switch to prefixed IDs and tell agents which Mac a message came from
This commit is contained in:
@@ -10,6 +10,7 @@ import (
|
||||
"time"
|
||||
|
||||
"g.fc.run/ai/byre/internal/api"
|
||||
"g.fc.run/ai/byre/internal/ids"
|
||||
"g.fc.run/ai/byre/internal/store"
|
||||
)
|
||||
|
||||
@@ -89,7 +90,7 @@ func newResponse(itemID, user string, create api.InboxResponseCreate) api.InboxR
|
||||
images = *create.Images
|
||||
}
|
||||
return api.InboxResponse{
|
||||
Id: store.NewID(),
|
||||
Id: ids.New(ids.InboxResponse),
|
||||
ItemId: itemID,
|
||||
User: user,
|
||||
Type: create.Type,
|
||||
|
||||
Reference in New Issue
Block a user