From d29034e86a0a4383e5966741ad2941c7a1c3566c Mon Sep 17 00:00:00 2001 From: manuroe Date: Wed, 23 May 2018 17:14:42 +0200 Subject: [PATCH] Disable sticker picker for the coming release --- Riot/Utils/Widgets/WidgetManager.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Riot/Utils/Widgets/WidgetManager.m b/Riot/Utils/Widgets/WidgetManager.m index 48f753e64..8ea994634 100644 --- a/Riot/Utils/Widgets/WidgetManager.m +++ b/Riot/Utils/Widgets/WidgetManager.m @@ -174,6 +174,9 @@ NSString *const WidgetManagerErrorDomain = @"WidgetManagerErrorDomain"; - (NSArray *)userWidgets:(MXSession*)mxSession { + // Disable user widgets (sticker picker) for now + return nil; + // Get all widgets in the user account data NSMutableArray *userWidgets = [NSMutableArray array]; for (NSDictionary *widgetEventContent in [mxSession.accountData accountDataForEventType:@"m.widgets"].allValues)