Disable sticker picker for the coming release

This commit is contained in:
manuroe 2018-05-23 17:14:42 +02:00
parent 9de45bd7a1
commit d29034e86a

View file

@ -174,6 +174,9 @@ NSString *const WidgetManagerErrorDomain = @"WidgetManagerErrorDomain";
- (NSArray<Widget*> *)userWidgets:(MXSession*)mxSession
{
// Disable user widgets (sticker picker) for now
return nil;
// Get all widgets in the user account data
NSMutableArray<Widget *> *userWidgets = [NSMutableArray array];
for (NSDictionary *widgetEventContent in [mxSession.accountData accountDataForEventType:@"m.widgets"].allValues)