Skip to content
Snippets Groups Projects
Commit fa4f0eec authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

made MessageGetTimestampMS return MS instead of seconds

parent 7d5be535
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ func (m *Message) GetMessageType() int {
// Returns the message's timestamp in ms
func (m *Message) GetTimestampMS() int {
return int(m.r.Timestamp.Unix())
return int(m.r.Timestamp.UnixNano()/1000000)
}
func (m *Message) GetTimestampNano() int {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment