diff options
| author | Max Audron <audron@cocaine.farm> | 2023-08-11 16:51:35 +0200 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2023-08-11 16:51:35 +0200 |
| commit | 5828af9fc19e18dc85e49fcc1a251a7eb25d909c (patch) | |
| tree | c70c3e52237c08d3fdcb2f1269c524c25e3feeb8 /modules/matrix/pkgs/slack_presence.patch | |
init
Diffstat (limited to 'modules/matrix/pkgs/slack_presence.patch')
| -rw-r--r-- | modules/matrix/pkgs/slack_presence.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/matrix/pkgs/slack_presence.patch b/modules/matrix/pkgs/slack_presence.patch new file mode 100644 index 0000000..c134dae --- /dev/null +++ b/modules/matrix/pkgs/slack_presence.patch @@ -0,0 +1,21 @@ +diff --git i/src/slack.ts w/src/slack.ts +index c38234f..a74e0a5 100644 +--- i/src/slack.ts ++++ w/src/slack.ts +@@ -11,6 +11,7 @@ import { + IRetList, + IStringFormatterVars, + MessageDeduplicator, ++ MatrixPresence, + ISendingUser, + IPresenceEvent, + } from "@mx-puppet/bridge"; +@@ -304,7 +305,7 @@ export class App { + await this.puppet.setUserPresence({ + userId: user.fullId, + puppetId, +- }, matrixPresence); ++ }, matrixPresence as MatrixPresence); + }); + client.on("reactionAdded", async (reaction: Slack.Reaction) => { + log.verbose("Received new reaction"); |
