Skip to content
Snippets Groups Projects
Unverified Commit 4d779d5f authored by Bruno Windels's avatar Bruno Windels Committed by GitHub
Browse files

Merge pull request #245 from krillefear/patch-1

Add deep link for FluffyChat Android and iOS
parents ded399d3 d52e84ee
No related branches found
No related tags found
No related merge requests found
...@@ -73,7 +73,13 @@ export class Fluffychat { ...@@ -73,7 +73,13 @@ export class Fluffychat {
} }
} }
getDeepLink(platform, link) { } getDeepLink(platform, link) {
switch (platform) {
case Platform.Android: return `im.fluffychat://chat/${link.identifier}`;
case Platform.iOS: return `im.fluffychat://chat/${link.identifier}`;
default: break;
}
}
canInterceptMatrixToLinks(platform) { canInterceptMatrixToLinks(platform) {
return platform === Platform.Android; return platform === Platform.Android;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment