Jitsi widget: Show/hide the widget presence in RoomVC at runtime

This commit is contained in:
manuroe
2017-08-09 17:31:15 +02:00
parent 07a1bc32b8
commit d2f6e8ddb8
4 changed files with 59 additions and 5 deletions
+6
View File
@@ -33,6 +33,7 @@
{
_widgetId = widgetEvent.stateKey;
_widgetEvent = widgetEvent;
_mxSession = mxSession;
MXJSONModelSetString(_type, widgetEvent.content[@"type"]);
MXJSONModelSetString(_url, widgetEvent.content[@"url"]);
@@ -55,4 +56,9 @@
return (_type != nil && _url != nil);
}
- (NSString *)roomId
{
return _widgetEvent.roomId;
}
@end