dd49e604d4
This property is useful for clients to know when a channel or chat was joined so they can use that to calculate the order of channels and chats shown in applications. Changes include a new joined property on the Chat struct, as well as adjustments in the persistence layer to retreive and update chat data in the database. In addition there's a migration script that alters the existing chat table to introduce a new column for the joined field. It also updates all existing rows in the database to set `joined` to `0`. |
||
---|---|---|
.. | ||
migrations | ||
errors.go | ||
gorush.go | ||
gorush_test.go | ||
persistence.go | ||
persistence_test.go | ||
server.go | ||
server_test.go |