aboutsummaryrefslogtreecommitdiff
path: root/modules/matrix/pkgs/slack_presence.patch
blob: c134dae962558c5d04048843574b5a20731ada94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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");