Prefix with /chat/ to make it a valid Uri

This commit is contained in:
Krille Fear 2021-11-22 12:44:49 +01:00 committed by GitHub
parent 994ad17fc9
commit d52e84ee23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,8 +75,8 @@ export class Fluffychat {
getDeepLink(platform, link) {
switch (platform) {
case Platform.Android: return `im.fluffychat://${link.identifier}`;
case Platform.iOS: return `im.fluffychat://${link.identifier}`;
case Platform.Android: return `im.fluffychat://chat/${link.identifier}`;
case Platform.iOS: return `im.fluffychat://chat/${link.identifier}`;
default: break;
}
}