diff options
author | Wim <wim@42.be> | 2020-12-06 17:23:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-06 17:23:37 +0100 |
commit | 9dba3d538588746536c29863baa5837557402a39 (patch) | |
tree | 5682d3807de5a5089518d679a4860f8fc9aadbff /vendor/github.com/matterbridge/Rocket.Chat.Go.SDK/realtime/client.go | |
parent | 2d3c26a4b218279d169da106032a70d3d80c4a53 (diff) | |
download | matterbridge-msglm-9dba3d538588746536c29863baa5837557402a39.tar.gz matterbridge-msglm-9dba3d538588746536c29863baa5837557402a39.tar.bz2 matterbridge-msglm-9dba3d538588746536c29863baa5837557402a39.zip |
Update rocketchat vendor (#1327)
Contains fixes for #992 and adds more random ID
Diffstat (limited to 'vendor/github.com/matterbridge/Rocket.Chat.Go.SDK/realtime/client.go')
-rw-r--r-- | vendor/github.com/matterbridge/Rocket.Chat.Go.SDK/realtime/client.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/matterbridge/Rocket.Chat.Go.SDK/realtime/client.go b/vendor/github.com/matterbridge/Rocket.Chat.Go.SDK/realtime/client.go index 1dde80bf..45a6a05d 100644 --- a/vendor/github.com/matterbridge/Rocket.Chat.Go.SDK/realtime/client.go +++ b/vendor/github.com/matterbridge/Rocket.Chat.Go.SDK/realtime/client.go @@ -92,5 +92,5 @@ func (c *Client) Close() { // Some of the rocketchat objects need unique IDs specified by the client func (c *Client) newRandomId() string { - return fmt.Sprintf("%f", rand.Float64()) + return fmt.Sprintf("%x%x", rand.Uint64(), time.Now().UTC().UnixNano()) } |