mirror of
https://gitdab.com/cadence/out-of-your-element.git
synced 2025-09-10 04:12:50 +02:00
Fix m->d then d->m reactions not merging
This commit is contained in:
parent
edf60bcd2d
commit
2c15468c22
7 changed files with 17 additions and 7 deletions
|
@ -38,7 +38,7 @@ async function addReaction(event) {
|
|||
throw e
|
||||
}
|
||||
|
||||
db.prepare("REPLACE INTO reaction (hashed_event_id, message_id, encoded_emoji) VALUES (?, ?, ?)").run(utils.getEventIDHash(event.event_id), messageID, discordPreferredEncoding)
|
||||
db.prepare("REPLACE INTO reaction (hashed_event_id, message_id, encoded_emoji, original_encoding) VALUES (?, ?, ?, ?)").run(utils.getEventIDHash(event.event_id), messageID, discordPreferredEncoding, key)
|
||||
}
|
||||
|
||||
module.exports.addReaction = addReaction
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue