diff options
author | Wim <wim@42.be> | 2020-04-21 23:35:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-21 23:35:46 +0200 |
commit | eaf92fca4ddf6bf78d2092618a4dc93b78af7140 (patch) | |
tree | 7c3c2f90b027117492aef33bcabeb744d51aef99 /vendor/github.com/mattn/go-runewidth/runewidth_table.go | |
parent | 06b7bad7146607f46652c9bd766de3f95028c370 (diff) | |
download | matterbridge-msglm-eaf92fca4ddf6bf78d2092618a4dc93b78af7140.tar.gz matterbridge-msglm-eaf92fca4ddf6bf78d2092618a4dc93b78af7140.tar.bz2 matterbridge-msglm-eaf92fca4ddf6bf78d2092618a4dc93b78af7140.zip |
Add an ID cache (discord). Fixes #1106 (#1111)
When a webhook "edits" a message, it does this by deleting the message
and creating a new one with the new content.
On creation of this new message, we'll get another ID then already is
know by the gateway in its id cache. So we add it in our own cache and
replace it whenever we want to edit/delete it again.
Diffstat (limited to 'vendor/github.com/mattn/go-runewidth/runewidth_table.go')
0 files changed, 0 insertions, 0 deletions