Merge pull request #2221 from fridtjof/deprecations/percent_encoding

Take care of percent encoding related deprecations
This commit is contained in:
manuroe
2019-02-20 15:06:11 +01:00
committed by GitHub
6 changed files with 23 additions and 19 deletions
@@ -1252,7 +1252,7 @@
if (roomIdOrAlias.length)
{
// Open the room or preview it
NSString *fragment = [NSString stringWithFormat:@"/room/%@", [roomIdOrAlias stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]];
NSString *fragment = [NSString stringWithFormat:@"/room/%@", [MXTools encodeURIComponent:roomIdOrAlias]];
[[AppDelegate theDelegate] handleUniversalLinkFragment:fragment];
}
[tableView deselectRowAtIndexPath:indexPath animated:NO];