Send Stickers: Plug the sticker picker widget with the room datasource to send a sticker

#1860
This commit is contained in:
manuroe
2018-05-07 17:58:18 +02:00
parent 21648e785f
commit e7631ef184
4 changed files with 51 additions and 10 deletions
@@ -17,6 +17,7 @@
#import "WebViewViewController.h"
#import "WidgetManager.h"
#import "MatrixKit/MatrixKit.h"
/**
`WidgetViewController` displays widget within a webview.
@@ -26,6 +27,12 @@
*/
@interface WidgetViewController : WebViewViewController
/**
The room data source.
Required if the widget needs to post messages.
*/
@property (nonatomic) MXKRoomDataSource *roomDataSource;
/**
Init 'WidgetViewController' instance with a widget.