mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-06 07:57:42 +02:00
Jitsi widget: Show/hide the widget presence in RoomVC at runtime
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user